军哥求救!IP怎么访问不了网站
我装了服务器全套,nginx,php,mysql都安装成功了,但是访问网址(直接IP)总是无法访问到页面,但在/home/wwwlogs/access.log里却有记录。。180.157.40.112 - - "-" 400 0 "-" "-" -
180.157.40.112 - - "-" 400 0 "-" "-" -
180.157.40.112 - - "-" 400 0 "-" "-" - 无法访问可能是iptables的问题
也有可能是国内的ip不允许直接用ip访问 军哥。你看我的iptables设置有问题吗?
# iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp--0.0.0.0/0 0.0.0.0/0 tcp dpt:80
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
页:
[1]