# Why doesnt bind adress of 127.0.0.1 work?

**URL:** <https://community.graylog.org/t/why-doesnt-bind-adress-of-127-0-0-1-work/1271>\
**Category:** Graylog Central (peer support)\
**Created:** [May 29, 2017, 11:58pm UTC](https://community.graylog.org/t/why-doesnt-bind-adress-of-127-0-0-1-work/1271 "2017-05-29T23:58:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AkashKrDutta](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@AkashKrDutta](https://community.graylog.org/u/AkashKrDutta)\
**Post date:** [May 29, 2017, 11:58pm UTC](https://community.graylog.org/t/why-doesnt-bind-adress-of-127-0-0-1-work/1271/1 "2017-05-29T23:58:00Z")

</div>

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 😅  
On the other hand if I change the bind address to 0.0.0.0, it works ! Whats the deal ? ☹

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [June 12, 2017, 11:58pm UTC](https://community.graylog.org/t/why-doesnt-bind-adress-of-127-0-0-1-work/1271/2 "2017-06-12T23:58:08Z")

</div>

Closed on June 12, 2017, 11:58pm UTC

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