我的 Elasticsearch 在我的 Windows 10 服务器上运行。 我想用 <我的静态公共(public) ip 地址>:9200 访问它
I can access my elasticsearch from the server with:
localhost:9200
127.0.0.1:9200
<my ipv4 address from ipconfig>:9200
I can access my elasticsearch from the other device connected to same network as server:
<my ipv4 address from ipconfig>:9200
But i cannot access it with outside of network with:
<my static public ip address>:9200
I have already created inbound port rule for 9200 in firewall settings. And my network settings in elasticsearch.yml
http.port: 9200 network.host: 0.0.0.0 transport.tcp.port: 9300 discovery.type: single-node discovery.seed_hosts: ["0.0.0.0", "[::1]"] network.bind_host: 0.0.0.0
请帮我 ?
注意:我有静态公共(public) IP 地址,我从
https://whatismyipaddress.com/
找到了我的公共(public) IP 地址
最佳答案
我已经解决了我的问题。
一切都很好,我只允许 AWS ec2 控制台中端口 9200 上的传入连接。现在它正在工作。谢谢你。
Now i can access it with
<my static public ip address>:9200
关于elasticsearch - 如何从其他网络访问 Elasticsearch? <我的静态公网IP地址> :9200,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63848747/