Link to home
Start Free TrialLog in
Avatar of industrycage
industrycage

asked on

SBS 2003 - FTP creation and access issues

I have a small business server 2003 with 1 network card connected to a gatway router through a switch. I have installed the FTP service in the IIS and I have also created an FTP site in the IIS manager per MS article 816525. I have enabled my gateway router to allow "Virtual server FTP" on ports 21/21. I have it set to allow annoynomous users with the login and password. I have also created the address ftp.<mysite>.com to point to the IP address of the server.

When I type ftp.<mysite>.com in IE it redirects to ftp://ftp.<mysite>.com and I am given the following FTP Folder Error: Windows cannot access this folder. make sure you typed the file name correctlyand that you have permission to access the folder. Details: The operation timed out. Ok is only option.
I then right clicked in the window and selected Login As... I entered the login and got the same result.

I also tried changing the IP address to "any available" with the same results.

Any ideas?
Avatar of Toni Uranjek
Toni Uranjek
Flag of Slovenia image

Hi industrycage,

FTP requires two ports to work. Configure your router to forward requests for port 20 and 21 to your server.

HTH

Toni
ASKER CERTIFIED SOLUTION
Avatar of Toni Uranjek
Toni Uranjek
Flag of Slovenia 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
Avatar of industrycage
industrycage

ASKER

I made port 20/20 (private/public) available through the router.

I ran the nslook up and it gave the following:
Server: server.<domain>.local
Address: <gave private address>
Non-authorative answer:
Name: ftp.<mysite>.com
Address: <displays public IP address>

What am I looking for?
Name: ftp.<mysite>.com
Address: <displays public IP address>

Is this public address of your firewall/router?

What happens if you try to "telnet ftp.mysite.com"?

Are you still having the same error?
This is what I get when I try Telnet

RUN > TELNET   (Open dialog box)
OPEN FTP.<MYSITE>.COM 21

Connecting to FTP.<MYSITE>.COM...

Press any key to continue...
Connection to Host lost.

The IP is the public IP given from the IP provider. I have a couple, the others are for mail.  

?
Connection to host lost? That means that it was established? Does FTP server from internal network work? Did you scan external IP to see if both port are really open?
Which router/firewall are we talking about?
I have a gatway router that feeds a switch. The switch then feeds to the servers and client switches.

How do I connect internally?

Scan? Please advise so I know I am doing it correctly.
Use any ftp client, command line or IE. Just go to ftp://servername.
I was able to connecty by entering ftp://servername in the run dialog box. I am also connected through the VPN. I assume this is good, how do I get there from the outside world?

I have placed a txt in the ftp folder on the server and I was able to access it.
Hi!

What happens now, if you try connect from outside with IE, or ftp ftp.mysite.com  or if you telnet to your server as already suggested. If your site is not resolvable by name try with IP and let me know what are the results.

Toni
When I try to connect through IE the same happens as specified in the original question. I even added /<the ftp root sub folder> and got the same results.
In the adress bar of IE I type ftp.mysite.com, then the flash light moves for a bit and then the error comes up?

IP gets me the ame thing. Telnet does says connection failed
I believe that there is a problem with your gateway router configuration. Can you access anything behind your router from internet?

If you check your open ports with online security test ShieldsUp! at http://www.grc.com/intro.htm, does your FTP ports appear open?
Ok. I fixed it.

I had it set as anonymously log in (I guess I cant do that), changed that and fixed my DNS with the IP provider so I pointed to the correct IP, I had it one digit off.

All good now thanks for trying all.
Checking if site resolves coorectly was suggested in my comment with ID: 19697655. ;)

Anyway, either close question yourself or ask for points to be refunded if you believe that you resolved your problem. Just don't leave the question open, please.