Submitted by kappler0 on Tue, 11/13/2012 - 12:59 Pro Licensee
I have a sub-server which is at on a private ip. when trying to FTP to the sub server or even the ip address it will not seem to load the directory even though it accepts the user/pass:
Status: Connecting to 98.142.218.60:21... Status: Connection established, waiting for welcome message... Response: 220 FTP Server ready. Command: USER wellcorprx Response: 331 Password required for wellcorprx Command: PASS ********** Response: 230 User wellcorprx logged in Command: OPTS UTF8 ON Response: 200 UTF8 set to on Status: Connected Status: Retrieving directory listing... Command: PWD Response: 257 "/" is the current directory Command: TYPE I Response: 200 Type set to I Command: PASV Response: 227 Entering Passive Mode (98,142,218,60,209,254). Command: MLSD Error: Connection timed out Error: Failed to retrieve directory listing
I am not sure how to troubleshoot this. Please advise. I appreciate it! Scott
Status:
Active
Comments
Submitted by andreychek on Tue, 11/13/2012 - 13:08 Comment #1
Howdy -- the issue you're seeing can be caused by various issues... a fickle router somewhere between the client and server, a firewall, NAT, and such... what usually fixes that is to setup a kernel module for something called "connection tracking".
How to do that is explained here in the section titled "FTP Service isn't working":
https://www.virtualmin.com/documentation/web/faq
Give that a shot, and let us know if that does the trick for you!
Submitted by kappler0 on Tue, 11/13/2012 - 13:13 Pro Licensee Comment #2
Awesome!
Worked perfectly. Thank you.