Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to test IIS

Posted on 2011-09-14
11
279 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
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.

 
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
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 configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

860 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