# Open 92 00 port

**URL:** https://discuss.elastic.co/t/open-92-00-port/248964
**Category:** Elasticsearch
**Created:** [September 17, 2020, 10:59am UTC](https://discuss.elastic.co/t/open-92-00-port/248964 "2020-09-17T10:59:34Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![YURA](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yura/32/44696_2.png) [@YURA](https://discuss.elastic.co/u/YURA)
#### Post date: [September 17, 2020, 10:59am UTC](https://discuss.elastic.co/t/open-92-00-port/248964/1 "2020-09-17T10:59:34Z")

</div>

Good day!  
CentOS Linux release 8.2.2004 (Core)

there was installed (number "7.9.0") so what we need. open 9200 for only one IP. what I did

iptables -I INPUT -s myserverip/32 -p tcp -m tcp --dport 9200 -j ACCEPT  
iptables -A INPUT -p tcp --destination-port 9200 -j DROP

14

network.host: 0.0.0.0  
transport.host: my real server ip  
http.port: 9200

and I want to open [http://myserverip:9200](http://myserverip:9200) everything is good and I get someinfortmation on page it is working  
But after that configuration our programmer tell me that elastic doesn't work wih PHP.  
He wants that He has get success from his IP to 9200 and php work with elastic

How can I do that open port for him like myserverip:9200 and that php and elasticserach work ?

---

<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 17, 2020, 10:05pm UTC](https://discuss.elastic.co/t/open-92-00-port/248964/2 "2020-09-17T22:05:21Z")

</div>

If you can access Elasticsearch from other external hosts, then it's probably something with the code they have. It's hard to suggest more without details.

Please note that it is dangerous to expose Elasticsearch to the internet. Make sure you have setup Security access controls.

---

<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: [October 15, 2020, 10:05pm UTC](https://discuss.elastic.co/t/open-92-00-port/248964/3 "2020-10-15T22:05:22Z")

</div>

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