Creating FTP server?

  • Thread starter Thread starter swebb
  • Start date Start date

swebb

Guest
Hi,

I'm trying to create an FTP server on my home pc using win xp media centre edition...

so far i've done the following:

1) enabled IIS
2) ticked the box in my internet connection properties to allow FTP
3) set up port forwarding on my router for port 21 to the correct pc
4) renamed my ftp server "frappawotsit.ftp"

i've put a file in the ftproot for test purposes, but i've been unable to connect to my ftp server.

I've only tried using a different pc on my home network, would that fail because i'm already on the network?

Can anyone see what i've missed or offer any advice?

thanks....

-Stu:bow
 
Just a stab in the dark, but have you tried to connect to your new servers IP address rather than server name?

Jezza
 
Hi,

I've only tried using a different pc on my home network, would that fail because i'm already on the network?

yes, you need to try and access it from the other side of your router i.e. externally.
 
like this?

yes, you need to try and access it from the other side of your router i.e. externally.


ahhh, perhaps in that case everything is working fine, I just need to test it externally!

I'm assuming as i've set up the port forwarding for FTP port 21, all i need to use to access externally is the following format:

in a web address bar...

ftp://12.345.67.89

where the above ip address is my external WAN address?

can anyone confirm if this is correct?

ta...
 
you should make sure that the address is static on your network, and it should be reachable on that address from your network as well.

assuming class c private range like: 192.168.x. is your local network.
Divide up your DHCP range so that say 2-100 are dhcp, 101-254 can be assigned. set the server to 101, and check you can get to it from inside your network. Might be an iis/permissions issue you need to fix up first.

Also see if you can telnet to the server, or do you get connection refused?

eg..

Ians-Mac-Mini:~ ian$ telnet localhost 21
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220---------- Welcome to Pure-FTPd [TLS] ----------
220-Local time is now 09:13. Server port: 21.
220 You will be disconnected after 15 minutes of inactivity.

Once that's working, you know the server really is listening on port 21 and actve test it with an ftp client and your real user accounts, and make sure you've screwed down anonymous access tight if you are going to open this to the internet....

Then forward port 21 on the router to 192.168.x.101, and get someone externally to test your wan address:21
 
you should make sure that the address is static on your network, and it should be reachable on that address from your network as well.

assuming class c private range like: 192.168.x. is your local network.
Divide up your DHCP range so that say 2-100 are dhcp, 101-254 can be assigned. set the server to 101, and check you can get to it from inside your network. Might be an iis/permissions issue you need to fix up first.

Also see if you can telnet to the server, or do you get connection refused?

eg..

Ians-Mac-Mini:~ ian$ telnet localhost 21
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220---------- Welcome to Pure-FTPd [TLS] ----------
220-Local time is now 09:13. Server port: 21.
220 You will be disconnected after 15 minutes of inactivity.

Once that's working, you know the server really is listening on port 21 and actve test it with an ftp client and your real user accounts, and make sure you've screwed down anonymous access tight if you are going to open this to the internet....

Then forward port 21 on the router to 192.168.x.101, and get someone externally to test your wan address:21

ok, so i follow some (but not all) of that.

My ftp is a virtual server (i think) by that i mean it's basically just a folder on my normal home pc. I've used IIS to set up FTP which automatically created the "Inetpub" and "ftproot" folders in my C: drive.

I've told windows security to allow FTP for my connections

I've set up port forwarding on the router to send requests on port 21 to the class c ip address of my home pc with the ftp set up on it.

When you say telnet onto it in order to test... which ip address to i use? My external WAN address, or the class c address of my home pc?

I've tried opening a dos window, and typing the following:

telnet localhost 21

and the response i get is a new window with the following:

220 Microsoft FTP Service

But the file I have in the ftproot folder is not shown?

Have i done this correctly, or have i missed something/messed it up?

thanks again.
 
Voila....

Thanks for your help again everyone....

I've finally got it up and running....

and the problem was....

overnight my external ip address had changed... so i was trying the wrong ip address :blast

doh!

all sorted now... thanks again peeps.
 


Back
Top Bottom