EADDRINUS - Local adress in use
Posted: 2022-12-07 19:34
I am setting up an FTP server in linux with host "localhost" and port "14148". However this is what appears on the logs right off the bat:
Status Successfully connected to server localhost:14148.
Error Couldn't bind on XXX.XX.XX.XXX:21. Reason: EADDRINUSE - Local address in use. Retrying in 1 seconds.
Error Couldn't bind on XXX.XX.XX.XXX:21. Reason: EADDRINUSE - Local address in use. Retrying in 1 seconds.
Error Couldn't bind on XXX.XX.XX.XXX:21. Reason: EADDRINUSE - Local address in use. Retrying in 1 seconds.
...
...
and it keeps on going forever like this (the Xs hide my ip).
I sent the command "netstat -tulpn" on the terminal and it showed port 0.0.0.0:21, 0.0.0.0:22, :::21 and :::22 are all currently LISTENING. It didn't show their program name.
Status Successfully connected to server localhost:14148.
Error Couldn't bind on XXX.XX.XX.XXX:21. Reason: EADDRINUSE - Local address in use. Retrying in 1 seconds.
Error Couldn't bind on XXX.XX.XX.XXX:21. Reason: EADDRINUSE - Local address in use. Retrying in 1 seconds.
Error Couldn't bind on XXX.XX.XX.XXX:21. Reason: EADDRINUSE - Local address in use. Retrying in 1 seconds.
...
...
and it keeps on going forever like this (the Xs hide my ip).
I sent the command "netstat -tulpn" on the terminal and it showed port 0.0.0.0:21, 0.0.0.0:22, :::21 and :::22 are all currently LISTENING. It didn't show their program name.