Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FTP WAN Access On Port <> 21

Status
Not open for further replies.

jalbao

Programmer
Nov 27, 2000
413
US
I've setup an IIS FTP Server on Win2k.

I want to have the FTP site accessible from the LAN and WAN on a port other than 21 - let's say port 1234. I have defined the listening port in the FTP settings and have opened up my router to forward port 1234 requests to the LAN IP of the FTP Server. Regarding file access, I have enabled "Anonymous" login's and have not defined NTFS permissions (i.e. Everyone = full control)

The problem:
Using IE and FileZilla as my FTP clients, I can successfully log into the FTP server on the LAN side, but I cannot login on the WAN side.

The error message that I rx in IE is: "An error occurred opening that folder on the FTP Server. Make sure you have permissions to open that folder. Details: 200 Type set to A. 500 INVALID PORT COMMAND. 500 'LPRT...; COMMAND NOT UNDERSTOOD".
The error message in FileZilla is: "Could not retrieve directory listing".

The IE "500 INVALID PORT COMMAND" message was curious to me so I changed the FTP server listening port back to default 21. Doing so "fixed" the problem - Using IE and FileZilla, I was able to access the FTP server on the LAN and WAN side with no problems.

I confirmed that there are no other services running on port 1234. Not to mention, I've tried many random port numbers all of which caused the error message that I mentioned earlier.

So, to recap, the FTP Server is always accessible using the LAN IP no matter what listening port I use, but the WAN IP access is only accessible if I use port 21.

What do I need to do in order to get WAN access to my FTP Server on a port other than 21?

Thanks.
 
sounds like more of a firewall issue than anything. you probably need to set it to forward FTP protocol requests to port 1234.



Chris.

Indifference will be the downfall of mankind, but who cares?
A website that proves the cobblers kids adage.
Nightclub counting systems

So long, and thanks for all the fish.
 
TOOLED did u get this problem sorted Im having the same problem and would apreciate it greatly
 
Ran into the same kind of trouble running a per user ftp site using port 30000.

I found that clients that were not running the latest version of IE (6.0 SP1 minimum) were in fact getting the exact same error message as tooled quoted. A quick upgrade via the microsoft downloads site made my life a whole lot easier.

Hope this helps,
placebo69a

----------------------------------------------------------
We're not alone, it's just that everyone else is out right now.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top