LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ftp: connect: Connection refused (https://www.linuxquestions.org/questions/linux-newbie-8/ftp-connect-connection-refused-4175500480/)

gabotron2000 04-03-2014 12:50 PM

ftp: connect: Connection refused
 
Trying to connect to an ftp server outside of our network. I hopped on a Windows box on a different sub-domain and an ftp transfer worked fine. On this Linux box, any command (ls, send, etc..) once authenticated, returns the following.

jpollard 04-03-2014 12:56 PM

Try switching to passive mode as the first command (or use "ftp -p servername").

You are likely behind a firewall/NAT that is causing the data channel to be blocked. The Windows system may be using passive mode by default (assuming it is behind the same firewall/NAT).

gabotron2000 04-03-2014 01:09 PM

Tried passive mode, still not working though

Madhu Desai 04-03-2014 10:22 PM

Have you tried
Code:

# modprobe ip_conntrack_ftp

gabotron2000 04-04-2014 10:55 AM

So it was an issue with passive mode. In IE, it worked unless you specified passive. I had tried it before after toggling passive mode and it didn't work. Networking says they didn't make any changes though I'm kinda suspicious. But now it works!

I also did add modprobe ip_conntrack_ftp.


All times are GMT -5. The time now is 03:45 PM.