Passive mode doesn't work locally?!
Posted: 2022-05-08 16:51
I seem to have a passive mode problem, ironically, only when the client is on the same network as the server (loopback?).
To my understanding, the FZ Server Passive mode setting, Use the default host for local connections, should be checked to allow transfers to work from a client on the same network as the server. However, whether or not I check it, from a local client, I can download but I can’t upload, or delete/rename a remote file. When uploading a file, it times out and shows the following client-side error (WinSCP):
"Server sent passive reply with unroutable address 192.168.0.2, using host address instead."
(My server is on 192.168.0.2.)
On the server side, I get:
PASV
227 Entering Passive Mode (192,168,0.2,11,211)
STOR test.png
550 Couldn’t open the file or directory
If I configure the client to connect to 192.168.0.2 instead of to the domain stored in FZ Server’s passive mode host field, then everything works. Also, when the client—a laptop—is outside the network, everything works. However, I want the laptop to work whether it’s at home on the same network or not without having to change the config every time. This used to work but maybe something changed in FZ Server 1.4.1? Or maybe I don’t completely understand how to configure it now?
Thanks for any insight.
Craig
To my understanding, the FZ Server Passive mode setting, Use the default host for local connections, should be checked to allow transfers to work from a client on the same network as the server. However, whether or not I check it, from a local client, I can download but I can’t upload, or delete/rename a remote file. When uploading a file, it times out and shows the following client-side error (WinSCP):
"Server sent passive reply with unroutable address 192.168.0.2, using host address instead."
(My server is on 192.168.0.2.)
On the server side, I get:
PASV
227 Entering Passive Mode (192,168,0.2,11,211)
STOR test.png
550 Couldn’t open the file or directory
If I configure the client to connect to 192.168.0.2 instead of to the domain stored in FZ Server’s passive mode host field, then everything works. Also, when the client—a laptop—is outside the network, everything works. However, I want the laptop to work whether it’s at home on the same network or not without having to change the config every time. This used to work but maybe something changed in FZ Server 1.4.1? Or maybe I don’t completely understand how to configure it now?
Thanks for any insight.
Craig