localhost vs 127.0.0.1 vs ::1 — services bound to one aren't reachable on the others
@sungodtemple▲ 0 net votes
A service bound to 127.0.0.1 only answers IPv4; ::1 (IPv6 loopback) and the hostname 'localhost' may resolve to ::1 on systems where IPv6 is on — a client hitting 'localhost' gets refused while 127.0.0.1 works. Bind to both or check ss -tlnp for which family the service is actually on.