Setting up a FTP Server

Soldato
Joined
30 Jul 2004
Posts
10,572
Location
East Sussex, UK
Howzit guys.

I am waiting to setup a home FTP server over a LAN network.

Can someone tell me the easiest way of doing this?


Many Thanks! :cool:
 
Howzit guys..

Well I am having a lot of trouble with this whole setup. :(

I keep getting, a error message saying "Unable to connect to: 127.0.0.1" :(

I'm not too sure what I am doing wrong?
 
I have never used Filezilla as an FTP server. I swear by G6 (www.gene6.com) but the usual to check if you cannot connect is that the server is up, your trying to connect to the right port (default is 21 but you can set it to anything) and also the IP the server is bound to.
 
Have you forwarded that ip addy in your firewall / router?

He is connecting to localhost so I assume he is testing it on his local machine before doing anything else. He also stated its a "home FTP over LAN network" so he shouldnt need to port forward anything as its not WAN bound traffic.
 
Just to make sure it wasn't a firewall issue, I turned it off. My home network runs through a switch, so no port forward is needed. I have checked that the server is online. I was using port: 14147. And the 127.0.0.1 address. I'm not sure what the whole bound IP address is though?

Thanks guys!
 
Well any server has to "bind" to an IP, its basically the "listen ip". Not all software will give you the option of which IP to bind to. Its basically for use in Multi IP systems and you only want that piece of software to accept connections on 1 of the IP's. All the FTPd's I have used have a section somewhere showing which IP's the server is bound to. By default it should be ALL but it was worth mentioning.
 
Yea that will be fine. What FTP client are you using to connect? Also have you checked the log/error log for the server to see if there are any errors? Also try connecting on your machines IP instead of using localhost, just for something to try.
 
I'm using FileZila's client software to connect to the server. I have tried that machine's IP address. I will have to give it another shot in the morning as I cannot access the server's room at the moment due to the other half being asleep in said room.

Will update tomorrow.

Many Thanks, Ubern. :cool:
 
I have an even simpler version that works on an windows version and allows anyone in your home or work lan to connect to your machine to upload and download files.

http://www.atopo.net/tool_miniserver.php

install this and drag the files you want to share over the network. point your browser to the correct IP address it shows and download away.
 
I have an even simpler version that works on an windows version and allows anyone in your home or work lan to connect to your machine to upload and download files.

http://www.atopo.net/tool_miniserver.php

install this and drag the files you want to share over the network. point your browser to the correct IP address it shows and download away.

To be fair thats an HTTP server, not what the OP wants to setup. FTP has multiple advantages over HTTP, especially when trying to queue files/folders.
 
Morning all.

Thanks, Ubern I have sorted it now. The whole IP binding is what I got wrong. All working. :D

Another thing: How can I see this server over the Internet? Needs a different address, surely?
 
Aye over the net, you'll need your wan side ip address? if that is the correct terminology. Sometimes if you have a dynamic ip address that changes you either have to provide regular updates to the people connecting if the ip changes, or setup a dynamic dns service, i think it basically ties a hostname to your ip address even if it changes.

You'll also have to open/forward ports/ip addresses on your router that the server is hosted on.

www.whatismyip.org is where you can find your wan ip address, which is what people outside your lan will use to connect to your server, and it should work assuming you have the various ports/ip addresses forwarded to your machine with the server.
 
Glad you got it working :) As said above youll need to forward the FTP port from your router so the outside world can get in. Dont worry about any further IP binding as your WAN IP doesnt exist as far as the FTP server is concerned. As long as you have the port forwarded in your router the router will pass all the requests to the FTP server, and then the FTP server back to the router and the router back to whatever IP requested the data in the first place.
 
As VaderDSL mentioned most ISPs provide dynamic IPs unless you have specifically requested and paid for a static IP. This means that your WAN IP will change at the ISPs discretion. This is frustrating if you share your FTP server with friends and have to keep them updated with your new IP. Not least yourself when trying to remember the ever changing numbers :p

A handy work around which I use is http://www.no-ip.com/services/managed_dns/free_dynamic_dns.html which maps an easy to remember name to your IP which remains the same regardless of the IP assigned by the ISP.

A great tool and free to boot! :D
 
Back
Top Bottom