Solved

How to test IIS

Posted on 2011-09-14
11
275 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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

If you migrate a Terminal Server licenses server inside the 2008 server family, you can takte advantage of the build-in migration tool. If you like to migrate an older 2003 Server (and the installed client CALs) to a 2008 R2 server for example, you …
You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

744 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

13 Experts available now in Live!

Get 1:1 Help Now