Why doesnt bind adress of 127.0.0.1 work?

I have set up graylog using docker, and input using bind address of 127.0.0.1 with listening port 1522 doesnt works, the output of docker port for graylog container is :
1522/tcp -> 127.0.0.1:1522
9000/tcp -> 0.0.0.0:9000

Clearly the 127.0.0.1:1522 port is forwarded to 1522/tcp. Then why doesnt curl 127.0.0.1:1522 works ? Please Help :sweat_smile:
On the other hand if I change the bind address to 0.0.0.0, it works ! Whats the deal ? :frowning:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.