我有web服务器,我可以使用它与ssh连接,ssh root@ip。
但我不能作为网络服务器访问它。我简单地测试了python工具http.server,还测试了安装和启动httpd。
产出:
# ifconfig eth0 | grep inet | awk '{ print $2 }'
addr:[ip address that I'm using for ssh]
addr:操作系统: Centos
我还能做什么?
发布于 2014-02-03 15:12:37
问题是防火墙的问题。使用此指令解决:配置iptables
https://stackoverflow.com/questions/21517380
复制相似问题