I've come to this forum because i'm running out of ideas what to do to solve my situation.
Well... here it is. I'm using Filezilla FTP Server for almost 4 years without any major problems (there was, but it was misconfiguration from my side). Now, out of nowhere (I do not remember any major changes to my system, except someone tried portscan on my PC) FTP server can't make Passive Mode connection - it constantly prompts me with "421 Could not create socket, unable to query socket for used port".
Code: Select all
(000006)01.07.2018 19:29:24 - (not logged in) (127.0.0.1)> Connected on port 21, sending welcome message...
(000006)01.07.2018 19:29:24 - (not logged in) (127.0.0.1)> 220 Hello
(000006)01.07.2018 19:29:24 - (not logged in) (127.0.0.1)> AUTH TLS
(000006)01.07.2018 19:29:24 - (not logged in) (127.0.0.1)> 234 Using authentication type TLS
(000006)01.07.2018 19:29:24 - (not logged in) (127.0.0.1)> TLS connection established
(000006)01.07.2018 19:29:24 - (not logged in) (127.0.0.1)> USER user1
(000006)01.07.2018 19:29:24 - (not logged in) (127.0.0.1)> 331 Password required for user1
(000006)01.07.2018 19:29:24 - (not logged in) (127.0.0.1)> PASS *****
(000006)01.07.2018 19:29:24 - user1 (127.0.0.1)> 230 Logged on
(000006)01.07.2018 19:29:24 - user1 (127.0.0.1)> PBSZ 0
(000006)01.07.2018 19:29:24 - user1 (127.0.0.1)> 200 PBSZ=0
(000006)01.07.2018 19:29:24 - user1 (127.0.0.1)> PROT P
(000006)01.07.2018 19:29:24 - user1 (127.0.0.1)> 200 Protection level set to P
(000006)01.07.2018 19:29:24 - user1 (127.0.0.1)> PWD
(000006)01.07.2018 19:29:24 - user1 (127.0.0.1)> 257 "/" is current directory.
(000006)01.07.2018 19:29:24 - user1 (127.0.0.1)> TYPE I
(000006)01.07.2018 19:29:24 - user1 (127.0.0.1)> 200 Type set to I
(000006)01.07.2018 19:29:24 - user1 (127.0.0.1)> PASV
(000006)01.07.2018 19:29:24 - user1 (127.0.0.1)> 421 Could not create socket, unable to query socket for used port.
(000006)01.07.2018 19:31:25 - user1 (127.0.0.1)> 421 Connection timed out.
(000006)01.07.2018 19:31:25 - user1 (127.0.0.1)> disconnected.
1. Checked firewall and network - no reaction.
2. Tried to cheat system and firewall by renaming executables and placing them into other folder. Nothing.
3. Tried to change passive port range and make it bigger. Nothing.
REALLY ODD - I changed FTP port to listen from 21 to one from my passive range, it worked, but passive mode still not
4. Tried to extract executables directly from installer. Nothing.
5. Even tried to check source code and found line where program emits such message - ControlSocket.cpp 724
Please note - I'm doing everything only local, only 127.0.0.1, no internet, no network.
And then... 5. Tried other older version and... BINGO. Until version 0.9.38 - passive mode works, with the same port range, any configuration, in any folder and with any name.
I already don't know what to do next and make server to work like it was.
PS: my current version 0.9.60.2 on Windows 7 x64 Ultimate
PSS: sorry fro my bad English.