Solved

How to test IIS

Posted on 2011-09-14
11
278 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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
 
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

777 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