Hadoop安装成功以后,访问不了web界面的50070端口java
先查看端口是否启用web
[hadoop@s128 sbin]$ netstat -ano |grep 50070
而后查看防火墙的状态,是否关闭,若是没有,强制性关闭centos
查看防火墙状态:oop
[hadoop@s128 sbin]$ service iptables status
关闭防火墙centos7
chkconfig iptables off
service iptables stop
centos7的方式:spa
systemctl stop firewalld.service #中止防火墙code
systemctl start firewalld.service #开启防火墙ip
systemctl status firewalld.service #查看防火墙状态hadoop
systemctl enable firewalld.service #开机自启 “启用”table
systemctl disable firewalld.service #开机自启 “禁用”
访问web界面(ip+端口号)
https://192.168.109.128:50070