FileZilla Server - Connection attempt failed with ECONNREFUSED - Connection refused by server
When I was trying to set up a FileZilla Server using FTPS and the default settings I got the error “ECONNREFUSED - Connection refused by server”.
This was due to the default parameter for the IP address retrieval.
The erroneous script always returns 127.0.0.1.
I’ve set up a script which returns the current public IP.