# Cant access elasticsearch port from remote machine

**URL:** https://discuss.elastic.co/t/cant-access-elasticsearch-port-from-remote-machine/83029
**Category:** Elasticsearch
**Created:** [April 20, 2017, 10:40am UTC](https://discuss.elastic.co/t/cant-access-elasticsearch-port-from-remote-machine/83029 "2017-04-20T10:40:23Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Pranil\_Ambule](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pranil_ambule/32/16208_2.png) [@Pranil\_Ambule](https://discuss.elastic.co/u/Pranil_Ambule)
#### Post date: [April 20, 2017, 10:40am UTC](https://discuss.elastic.co/t/cant-access-elasticsearch-port-from-remote-machine/83029/1 "2017-04-20T10:40:23Z")

</div>

im using elasticsearch 5.1.2 hosted on microsoft server 2008  
ip address-100.100.171.207  
but im not able to connect to port 9200 using 100.100.171.207:9200  
i have also added inbound as well as outbound rule in firewall  
And im using default es config file.

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [April 20, 2017, 11:58am UTC](https://discuss.elastic.co/t/cant-access-elasticsearch-port-from-remote-machine/83029/2 "2017-04-20T11:58:30Z")

</div>

You need to define network.host in the config file

---

<div class="post-metadata">

### Author: ![Pranil\_Ambule](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pranil_ambule/32/16208_2.png) [@Pranil\_Ambule](https://discuss.elastic.co/u/Pranil_Ambule)
#### Post date: [May 1, 2017, 7:08am UTC](https://discuss.elastic.co/t/cant-access-elasticsearch-port-from-remote-machine/83029/3 "2017-05-01T07:08:00Z")

</div>

thanks David.

---

<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: [May 29, 2017, 7:19am UTC](https://discuss.elastic.co/t/cant-access-elasticsearch-port-from-remote-machine/83029/4 "2017-05-29T07:19:12Z")

</div>

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