How to test IIS

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.
LVL 16
rbudjAsked:
Who is Participating?
 
rbudjAuthor Commented:
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
 
AlexPaceCommented:
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
 
rbudjAuthor Commented:
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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
AlexPaceCommented:
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
 
rbudjAuthor Commented:
I typed telnet 192.168.11.2 21 and got the same message
0
 
AlexPaceCommented:
You tested from within your LAN, right?  The reason I ask is 192.168.x.x a private address.
0
 
rbudjAuthor Commented:
Yes, I'm within my LAN on a desktop computer
0
 
AlexPaceCommented:
Can you log in to the server computer (or RDP) and try it there locally?  Just to make sure the service is running?
0
 
AlexPaceCommented:
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
 
rbudjAuthor Commented:
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
 
rbudjAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.