Page 1 of 1

Could not create socket

Posted: 2021-01-21 14:07
by tbarnes76
This server has been running fine up until the other day. Now randomly I will get this error and the only thing to resolve it is a reboot of the server. Any ideas what the issue may be?

(007780) 1/21/2021 0:00:28 AM - (not logged in) (ipa)> Connected on port 21, sending welcome message...
(007780) 1/21/2021 0:00:28 AM - (not logged in) ()> 220 Unauthorized Access Prohibited
(007780) 1/21/2021 0:00:28 AM - (not logged in) (ipa)> USER User
(007780) 1/21/2021 0:00:28 AM - (not logged in) (ipa)> 331 Password required for username
(007780) 1/21/2021 0:00:28 AM - (not logged in) (ipa)> PASS ********
(007780) 1/21/2021 0:00:28 AM - username(ipa)> 230 Logged on
(007780) 1/21/2021 0:00:28 AM - username(ipa)> OPTS utf8 on
(007780) 1/21/2021 0:00:28 AM - username(ipa)> 202 UTF8 mode is always enabled. No need to send this command.
(007780) 1/21/2021 0:00:28 AM - username(ipa)> PWD
(007780) 1/21/2021 0:00:28 AM - username(ipa)> 257 "/" is current directory.
(007780) 1/21/2021 0:00:28 AM - username(ipa)> TYPE A
(007780) 1/21/2021 0:00:28 AM - username(ipa)> 200 Type set to A
(007780) 1/21/2021 0:00:28 AM - username(ipa)> PASV
(007780) 1/21/2021 0:00:28 AM - username(ipa)> 421 Could not create socket.
(007780) 1/21/2021 0:00:28 AM - username(ipa)> disconnected.
(007778) 1/21/2021 0:00:43 AM - username(ipa)> PASV
(007778) 1/21/2021 0:00:43 AM - username(ipa)> 421 Could not create socket.

Re: Could not create socket

Posted: 2021-01-21 20:13
by boco
Something on your system (AV/security software) blocks the FileZilla Server service process from opening sockets to listen on, or all usable ports are exhausted.

Re: Could not create socket

Posted: 2021-01-22 13:40
by tbarnes76
If it's not AV, how can I know if all usable ports are exhausted?

Re: Could not create socket

Posted: 2021-01-24 03:54
by boco
No easy to answer. What ports did you tell it to listen on (Custom port range, Passive settings)? If the range is to narrow, it can easily run out of ports, depending on load.