今天在操作云主机的时候,本机可以连接8080端口,别的机器不可以
telnet 192.168.0.127 8080
感觉肯定是防火墙的问题,但是查看防火墙和firewalld均是关闭状态
但是注意到/etc/sysconfig/network-scripts/iptables中含有大量的规则
所以将iptables 启动之后,清空规则
iptables -F
然后就可以连接了
好像是虽然iptables关闭了,规则还在,具体原因还在研究中
Latest posts by Zhiming Zhang (see all)
- aws eks node 自动化扩展工具 Karpenter - 8月 10, 2022
- ReplicationController and ReplicaSet in Kubernetes - 12月 20, 2021
- public key fingerprint - 5月 27, 2021