Hadoop安裝成功之后,訪問不了web界面的50070端口
先查看端口是否啟用
[hadoop@s128 sbin]$ netstat -ano |grep 50070
然后查看防火牆的狀態,是否關閉,如果沒有,強制性關閉
查看防火牆狀態:
[hadoop@s128 sbin]$ service iptables status
關閉防火牆
chkconfig iptables off
service iptables stop
centos7的方式:
systemctl stop firewalld.service #停止防火牆
systemctl start firewalld.service #開啟防火牆
systemctl status firewalld.service #查看防火牆狀態
systemctl enable firewalld.service #開機自啟 “啟用”
systemctl disable firewalld.service #開機自啟 “禁用”
訪問web界面(ip+端口號)
https://192.168.109.128:50070