Appearance
80 端口为示例,环境:centOS7.6
服务器安全组已经放行 80 端口,但 cmd 访问失败
# telnet [IP] 80 telnet 10.1.1.1 80
# 查看 防火墙 firewall-cmd --state # not running 说明 防火墙未启动,要先启动防火墙 # 启动防火墙 systemctl start firewalld firewall-cmd --state # running 说明防火墙正在运行中
telnet 10.1.1.1 80
连接成功