Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been trying to setup an ftp server in windows XP. I would like to know about its configuration. What domain/Ip should I use, so that other system on internet can connect to it. Please provide detail steps so that I would easily do this.

share|improve this question

migrated from Jun 9 '10 at 11:06

This question came from our site for system and network administrators.

Could you provide more detail: are you doing this on windows or linux? Is this something you are setting up in your home? Are you behind a router? – rascher Jun 11 '09 at 16:26
Saurabh, you should formulate your title in a question format, that will help you improve your probability on getting to your objective. Also, giving all the details is also a very good idea, as Rascher is pointing. – Geo Jun 11 '09 at 16:33
There are many sites on the internet that detail things like this. If you are asking for help with a specific setup, please include all details on that setup. As this is not for personal machines, ensure you are speaking of a server admin task. Even the version of XP you are using matters to figure this out. – Joshua Nurczyk Jun 11 '09 at 16:37
serverfault is primarily aimed at IT Pros (people who earn their living in IT. It appears from your question that you are more of a beginner, and it follows that you might not know what types of details to add. Please spend some time with the following google search, read some articles, and see how you do. Then, if you still need help, update this question with more information. Google: how to setup an ftp server on windows xp – condiosluzverde Jun 11 '09 at 16:51
you guys are "harsh" on this guy. this thread is fine on this forum. – djangofan Aug 11 '09 at 23:39

First, understand that this is not a simple process and you will need to learn some technical details to make it work.

You would need to:

  • purchase a domain name (e.g. or use one of the 'free sub-domain name' services

  • if you have a static IP address, configure the domain to use that IP

  • if you have a dynamic IP address, first check that your ISP service agreement permits FTP servers to be run. If so, use one of the dynamic IP DNS services (e.g. to keep your IP synchronized with your domain name

  • configure your router to pass incoming traffic on port 21 to the LAN address of the machine (enter 'ipconfig' in the command window to find your LAN IP -- note that you may need to configure the router so that this IP does not change e.g. on reboot)

  • configure your Windows firewall similarly (to pass traffic on port 21)

  • if your users are behind firewalls, you may need to configure the router for other ports as well (see the documentation on the FTP server you selected for more information)

  • for testing, first try connecting to the FTP server on the same machine as the server (e.g. ftp Then, try connecting from another machine on the LAN to the server IP address. Lastly, connect from the internet. If the last test fails, the router may not be configured properly.

This is probably more than you wanted to know...

share|improve this answer

This would probably belong on, but in the mean time, here are the things you will need to consider.

  • NAT routing - As a home user, you are probably behind a DSL or cable modem, or other router that will need to have NAT configured for port forwarding. You'll want to forward port 21 from your public IP address to your private, internal IP address.

  • Software Setup - There are a ton of FTP server packages for Windows, each of which has its own configuration and setup. Essentially you will want to refer to the documentation that comes with your FTP server software on its settings for security, user accounts, quotas, etc.

  • Firewall - If you have the Windows firewall enabled, you will need to add an exception for incoming FTP connections on port 21.

  • DNS - If you want to make your server available to the public, you could give users your public IP address (go to to see it). You will probably be better served by a static hostname from a dynamic DNS service such as or They will give you a small piece of software that will track your IP address and update a DNS name for you automatically if it changes. This will allow you to give out the hostname instead of the IP.

share|improve this answer

Ok, I am assuming that you want to host a FTP server from your home network link for whatever reason.

  • Look at for a Windows based server.
  • Look at DynDNS and OpenDNS to get the dynamic IP you get from your broadband/dialup associated to any domain name you might have reserved.
share|improve this answer
freeFTPd (with SFTP) is cool because, unlike other servers (FTP or FTPS) it uses only 1 port instead of 2 or more ports. – djangofan Aug 11 '09 at 23:37

You must log in to answer this question.