Open 92 00 port

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 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 ?

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.

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