the problem encountered now is that the Aliyun security group used by the public network server cannot connect to the 9300 port server is
allows all-1 Melissa 1 address fields to access 0.0.0.0amp 0
linux firewall also maps port 9300
9200 can use normal restful data acquisition and addition is normal
now can not be used to solve
if there is no restriction on the firewall, it"s all on
.es uses version 5.4.1.0
I use
configured by Spring dataspring:
application:
name: api-gateway
data:
elasticsearch:
cluster-name: elasticsearch
cluster-nodes: es-service:9300
configuration of local es:
`network.host: 0.0.0.0`
the configuration of the extranet server is also:
`network.host: 0.0.0.0`
Port mapping:
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:9200 0.0.0.0:* LISTEN 11960/java
tcp 0 0 0.0.0.0:9300 0.0.0.0:* LISTEN 11960/java
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -