Solved

How to test IIS

Posted on 2011-09-14
11
277 Views
Last Modified: 2012-06-22
Server 2008 R2 - IIS 7.5

I have my IIS server setup. I have a URL pointing to my address using no-ip. I can ping the url and get replies from my ip address. Internally, how can i test to make sure my ftp server is working? Can I connect to my ftp server from within my LAN? how?

From my LAN, I cannot connect to my ftp server. So I'm trying to troubleshoot why. Router is configured to take port 21 to my servers static ip address.
0
Comment
Question by:rbudj
  • 6
  • 5
11 Comments
 
LVL 16

Expert Comment

by:AlexPace
ID: 36539021
See if you can telnet to port 21 and get a welcome prompt.  If so, the FTP control channel is working and you only need to get the FTP data channel going through your firewall.  Most FTP Server software will allow you to assign a port range to use for passive mode data channel... choose something over 1024 and under 65000 and a good rule of thumb is to mae the range at least twice as wide as the max clients you ever expect at once.

So if you expect a max of 10 concurrent users, make a range of at least 20 ports somewhere up in a high port range like 50000 to 50020.
0
 
LVL 16

Author Comment

by:rbudj
ID: 36539157
i had to turn on telnet for my desktop machine on the LAN. I tried typing telnet 192.168.11.2 which is my server and I get a Could not open connection to the host, on port 23: Connect failed
0
 
LVL 16

Expert Comment

by:AlexPace
ID: 36539167
Try to telnet to port 21 to see if the FTP server software responds.  You don't need to have an actual FTP session over telnet, just check and see if you can get the prompt showing that it is listening.
0
 
LVL 16

Author Comment

by:rbudj
ID: 36539191
I typed telnet 192.168.11.2 21 and got the same message
0
 
LVL 16

Expert Comment

by:AlexPace
ID: 36539206
You tested from within your LAN, right?  The reason I ask is 192.168.x.x a private address.
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 16

Author Comment

by:rbudj
ID: 36539211
Yes, I'm within my LAN on a desktop computer
0
 
LVL 16

Expert Comment

by:AlexPace
ID: 36539220
Can you log in to the server computer (or RDP) and try it there locally?  Just to make sure the service is running?
0
 
LVL 16

Accepted Solution

by:
rbudj earned 0 total points
ID: 36539229
I tried turning off the firewall. The telnet still does not connect but it at least gives different information. Now I tried ftp 192.168.11.2 and received:

Connected to 192.168.11.2
220 Microsoft FTP Service
User (192.168.11.2:(none)):

so does this mean I am connecting ok to my ftp server to assume it is working properly?
0
 
LVL 16

Assisted Solution

by:AlexPace
AlexPace earned 100 total points
ID: 36539257
Yes that means the server software is running answering incomming requests on port 21.

If that doesn't work with the firewall on then you need an exception in your firewall to allow FTP.
0
 
LVL 16

Author Comment

by:rbudj
ID: 36539391
Ok. So now I know the server is accepting. I have the firewall issue and also the user and password issue to deal with but this question has been answered. Thank you.
0
 
LVL 16

Author Closing Comment

by:rbudj
ID: 36558811
telnet did not do anything. I had previously tried ftp 192.168.11.2 and could not connect but after turning off firewall I could. Thank you for confirming that this means the ftp server is working correctly as far as accepting incoming connections.
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Redirected folders in a windows domain can be quite useful for a number of reasons, one of them being that with redirected application data, you can give users more seamless experience when logging into different workstations.  For example, if a use…
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now