Link to home
Start Free TrialLog in
Avatar of rbudj
rbudjFlag for United States of America

asked on

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.
Avatar of AlexPace
AlexPace
Flag of United States of America image

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.
Avatar of rbudj

ASKER

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
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.
Avatar of rbudj

ASKER

I typed telnet 192.168.11.2 21 and got the same message
You tested from within your LAN, right?  The reason I ask is 192.168.x.x a private address.
Avatar of rbudj

ASKER

Yes, I'm within my LAN on a desktop computer
Can you log in to the server computer (or RDP) and try it there locally?  Just to make sure the service is running?
ASKER CERTIFIED SOLUTION
Avatar of rbudj
rbudj
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rbudj

ASKER

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.
Avatar of rbudj

ASKER

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.