FTP Windows 2000 Server

Posted on 2005-04-27
Last Modified: 2008-01-09
I have a Windows 2000 member server that i set FTP up on. I changed the default port on it for security reasons but cannot get it to work right. I changed the port on the router and pointed it to the Windows 2000 server and then changed the port in the Services File. There was 2 ports in there a FTP data on port 20 and another one on Port 21. I just changed the Port 21. Then i changed it in the registry as well MSFTPSVC. Anyways i can log into it just fine from outside the network but when i go to list the directory with the ls command or if i type dir it hangs up.. Below is where it hangs up on... Any suggestions

ftp> ls
500 Invalid PORT Command.
150 Opening ASCII mode data connection for file list.

Question by:jjatsk
    LVL 2

    Expert Comment

    try to change your FTP entry in %Windir%\system32\drivers\etc\services file.


    Author Comment

    I did that already. Thats what i mean above by changeing the port in the services file. Still does not work. I have been reading alot of other post and there is something about a passive mode? How do i change that or check to see if that is on? I can connect to it on the network at work here just fine. Its just when i connect from the outside. I still connect to it but i cannot list the directorys or do anything.

    ftp> ls
    500 Invalid PORT Command.
    150 Opening ASCII mode data connection for file list.     <------ hangs up when i do this from outside of the network
    LVL 8

    Accepted Solution

    have you checked to make sure no firewall is knocking down the connection?

    Also, related to your above question -
    LVL 8

    Expert Comment

    also, some good information here :;en-us;300662

    I know with our 2000 servers we have some FTP services set up on non-standard ports and we did it the same way you would do a web site via the IIS Administration Window via MMC...

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    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.

    NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
    Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
    This video discusses moving either the default database or any database to a new volume.
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    737 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

    22 Experts available now in Live!

    Get 1:1 Help Now