Opened 8 years ago

Closed 2 years ago

#10681 closed Other (outdated)

The data connection could not be established: WSAEADDRNOTAVAIL - Cannot assign requested address

Reported by: cheung222 Owned by:
Priority: normal Component: FileZilla Client
Keywords: WSAEADDRNOTAVAIL Cc:
Component version: 3.11.0 or above Operating system type: Windows
Operating system version: 7 or above

Description

Hi There,

After upgrading FileZilla client from 3.10.3 to 3.14.1, the following error message will be displayed every time I connect to our ftp server through a proxy server using a proxy client in windows 7 or 8.1.
In fact, everything was working fine in 3.10.x using the same proxy client and windows os. Seems there was big code change after version 3.11.x.
I know FileZilla client built-in proxy function, and it is working fine too. However, our proxy client is more flexible and controllable. Is it possible to re-implement this function in 3.14.x? Thanks.

Error Message
=============
The data connection could not be established: WSAEADDRNOTAVAIL - Cannot assign requested address

Change History (5)

comment:1 by Tim Kosse, 8 years ago

Please attach complete log of a connection attempt.

comment:2 by Tim Kosse, 8 years ago

Status: newmoreinfo

comment:3 by cheung222, 8 years ago

Status: moreinfonew

Here is the log for both version. Thanks.

3.10.3
======
Status: Connecting to [ip_address_removed]:21...
Status: Connection established, waiting for welcome message...
Status: Insecure server, it does not support FTP over TLS.
Status: Server does not support non-ASCII characters.
Status: Connected
Status: Retrieving directory listing...
Status: Directory listing of "/" successful

3.14.1
======
Status: Connecting to [ip_address_removed]:21...
Status: Connection established, waiting for welcome message...
Status: Insecure server, it does not support FTP over TLS.
Status: Server does not support non-ASCII characters.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/"
Command: TYPE I
Response: 200 Switching to Binary mode.
Command: PASV
Response: 227 Entering Passive Mode ([ip_address_removed],24,229)
Command: LIST
Error: The data connection could not be established: WSAEADDRNOTAVAIL - Cannot assign requested address
Response: 150 Here comes the directory listing.
Response: 226 Directory send OK.
Error: Failed to retrieve directory listing

comment:4 by marc.bau, 2 years ago

I found the reason why this happens. A previous version has set FTP server listen address to the DHCP address my computer had in past e.g. 192.168.0.5. Now my DHCP address has changed to 192.168.0.8 and the software fails to bind to 192.168.0.5.

So I changed the Listeners in FTP Server > Connections > Address tab to 0.0.0.0 and the server bound the listeners properly.

This is clearly a bug I think. It would be better if filezilla would automatically bind to 0.0.0.0 only.

comment:5 by Tim Kosse, 2 years ago

Resolution: outdated
Status: newclosed
Note: See TracTickets for help on using tickets.