Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: FTP failing when using load balancer instead of hostname

@shuvoc279: The error refers to the IP address in the response to the PASV command. Load balancing an FTP server is a tricky task.
Check this to learn how FTP works:
https://winscp.net/eng/docs/ftp_modes
shuvoc279

FTP failing when using load balancer instead of hostname

I am using loadbalancer IP for FTP instead of direct FTP server IP. In the log, I can see below error.
Server sent passive reply with unroutable address XX.XX.XX.XX, using host address instead.

Where XX.XX.XX.XX is my direct FTP server IP.
Not able to figure out what is happening here. Why it is saying unroutable address when load balancer is routing to direct FTP server IP.
martin

Re: "Server sent passive reply with unroutable address 127.0.0.1, using host address instead."

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
thiagoaoshi

"Server sent passive reply with unroutable address 127.0.0.1, using host address instead."

Don't connect FTP!!
Print message:
Server sent passive reply with unroutable address 127.0.0.1, using host address
instead.

I tried to use passive mode (-passive=on), but without success. :(
Can someone help me in this case?