防火墙问题,执行下面代码: firewall-cmd --zone=public --add-port=9200/tcp --permanent(9200为你要访问的端口号) firewall-cmd --reload 即可。