# Not getting response from Global public IP in Elasticsearch using Debian Server

**URL:** <https://discuss.elastic.co/t/not-getting-response-from-global-public-ip-in-elasticsearch-using-debian-server/59819>\
**Category:** Elasticsearch\
**Created:** [September 5, 2016, 2:49pm UTC](https://discuss.elastic.co/t/not-getting-response-from-global-public-ip-in-elasticsearch-using-debian-server/59819 "2016-09-05T14:49:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aqm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aqm/32/45742_2.png) [@aqm](https://discuss.elastic.co/u/aqm)\
**Post date:** [September 5, 2016, 2:49pm UTC](https://discuss.elastic.co/t/not-getting-response-from-global-public-ip-in-elasticsearch-using-debian-server/59819/1 "2016-09-05T14:49:50Z")

</div>

Hi,  
I installed elasticsearch on debian server. After installing , I open elasticsearch.yml file for configurations.  
I configured these things..

network.host: **my global public ip of debian server**  
http.port : **9200**

and I also changed the [cluster.name](http://cluster.name) and [node.name](http://node.name).

Now whenever I access it using **[http://myglobalip:9200](http://myglobalip:9200)** in browser , then no response or run query on debian like this  
**curl -X GET '[http://myglobalip:9200](http://myglobalip:9200)'**  
then it gives me this error  
Failed to connect to **myglobalip** port 9200: Connection timed out

whenever I change network.host: localhost  
It gives me correct result after running this query  
**curl -X GET '[http://localhost:9200](http://localhost:9200)'**  
its mean that it is working

I search many documents but still my problem not solve.  
I also check the port, port is open.

Am I missing something or doing wrong?  
kindly help regarding this issue.  
regards  
AQM

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 6, 2016, 12:42am UTC](https://discuss.elastic.co/t/not-getting-response-from-global-public-ip-in-elasticsearch-using-debian-server/59819/2 "2016-09-06T00:42:30Z")

</div>

Check your ES logs on startup and make sure it binds to that IP.  
Also make sure you don't have a firewall in place.

---

<div class="post-metadata">

**Author:** ![aqm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aqm/32/45742_2.png) [@aqm](https://discuss.elastic.co/u/aqm)\
**Post date:** [September 6, 2016, 8:14am UTC](https://discuss.elastic.co/t/not-getting-response-from-global-public-ip-in-elasticsearch-using-debian-server/59819/3 "2016-09-06T08:14:39Z")

</div>

I am not getting your point, I posted my settings here, kindly tell me are these settings fine or not?  
if there is any additional setting kindly tell me.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 10:22pm UTC](https://discuss.elastic.co/t/not-getting-response-from-global-public-ip-in-elasticsearch-using-debian-server/59819/4 "2017-07-05T22:22:23Z")

</div>


