Elasticsearch 9300 binds native ip

clipboard.png

-sharp
docker10-elastic:~-sharp grep -vE "^-sharp|^$" /home/apps/elasticsearch/config/elasticsearch.yml 
cluster.name: btr-test01
node.name: node-142
path.data: /home/apps/elasticsearch/data
path.logs: /home/apps/elasticsearch/logs
http.host: 172.16.16.142
http.port: 9200
transport.tcp.port: 9300
discovery.zen.ping.unicast.hosts: ["172.16.16.142:9200"]
http.cors.enabled: true
http.cors.allow-origin: "*"

because 127.0.0.1virtual 9300 causes abnormal communication between nodes; nodes in the same cluster cannot be found automatically!

Oct.21,2021

add network.host: 172.16.16.142 configuration.

The port of

elasticsearch is bound to 127.0.0.1 by default. http.host is configured when the http port is opened to the outside world, and network.host is configured when the tcp port is opened to the outside world.

you can refer to the official document ide/en/elasticsearch/reference/current/modules-network.html" rel=" nofollow noreferrer "> Network setting

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3e614-2c426.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3e614-2c426.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?