SFTP Jails stopped working
Limiting Access with SFTP Jails on Debian and Ubuntu
I checked all the settings but cannot find any reason why it shouldn't work.
Filezilla is giving me an error
Connection attempt failed with "ECONNREFUSED - Connection refused by server"
password is 100% correct.
I restarted sshd
tried to connect using ftpes protocol (FTP over explicit TLS) as a user that is not jailed with the same result
Any idea how I can make it work again?
SFTP is SSH File Transfer Protocol. It's handled by SSH server, and is totally different from old FTP.
FTPS is the old FTP in SSL/TLS tunnel, and is handled by a FTP server. You probably don't want to use it.
If you can SSH in, you surely can SFTP in; or at least, it wouldn't give you ECONNREFUSED.
If you can't SSH in, disregard all of the above, you have SSH bound to wrong interface or bad firewall rules.