I have a ruby webapp running on the port 5555 on FreeBsd 11. For some reason it's not visible from the Internet at all, although ipfw isn't running.
$ curl -i 126.96.36.199:5555 curl: (7) Failed to connect to 188.8.131.52:5555 port 5555: Connection refused
But the app is visible from that server, from localhost:
curl -i 0.0.0.0:5555 [....returns data] curl -i 127.0.0.1:5555 [....returns data]
What can be the reason?
$ sockstat USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS user123 ruby 93839 7 tcp6 ::1:5555 *:* user123 ruby 93839 8 tcp4 127.0.0.1:5555 *:*