Jump to content

Recommended Posts

Posted

I've set up Net::FTPServer on my computer to run with my MD 10 Official/Apache2 setup.

 

It kind of works.

 

I can FTP to my router address from another machine on that router. But when I try to do this via my IP address I get 2 different results depending on my router settings.

 

If I send port 21 through to 8021, my internal FTP access port, and try using FTP I get "Connection refused".

 

If I try to use a different port, say 2021 in my case, it just hangs.

 

I know the service is working on my machine, but I just can't seem to get it beyond my router.

 

Does anyone have an idea on this?

 

Thanks!

 

Bill

Posted

What ftp client are you trying to use to connect to your ftp server. Because you will need to change your ftp client settings so it will only use the port that you are wanting to use. Because normally ftp servers will use random ports to transfer the files, they only use port 21 to start the connection. You will also have to force your ftp server to only use that one port and not to try to connect on the other randoms ports for transfer

Posted

I'm using FTP on the command-line in Linux.

 

I have searched to see if there is a port setting, but I can't seem to find one.

 

The FTP server is set to listen to port 8021 (to my best knowledge) and the router is set to forward to that port.

 

Still no dice. If there is a particular FTP client you think I should try, let me know. Linux preferred if possible.

 

Thanks to all!

 

Bill

Posted

I've swithed the FTP server port to 2021, even though I've had the router forwarding to 21 ... still not working.

 

In fact, it doesn't seem to matter what I set the router to, port 21 seems to be the only working port.

 

Hhhhmmm ....

Posted

Oh never mind ...

 

When I attatched to the port locally (i.e. 192.168.1.101) it needed to talk directly to port 21. This is how I was tessting. But when coming in from the modem, via the IP address, port forwarding took over and it worked.

 

It really did work!

 

Thanks!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...