美文网首页
外网访问不到阿里云里的elasticsearch9200端口

外网访问不到阿里云里的elasticsearch9200端口

作者: 陪伴你的大数据 | 来源:发表于2021-01-25 20:06 被阅读0次

外网访问不到阿里云服务器的9200端口
2个可能的问题
1.config/elasticsearch.yml
netstat 写成阿里云的内网地址,不要写0.0.0.0或者 阿里云外网地址

2.阿里云控制台添加安全策略9200端口要开放

如果是内网服务器访问不到
1.config/elasticsearch.yml
netstat 注释放开改为0.0.0.0
2.关闭防火墙
service firewalld stop关闭/status查看
或者
service不行用下边指令
systemctl stop/status firewalld

相关文章

网友评论

      本文标题:外网访问不到阿里云里的elasticsearch9200端口

      本文链接:https://www.haomeiwen.com/subject/vobizktx.html