求军哥帮忙看下这是什么问题
医院给了一台服务器ip地址是211.144.121.185 开通的端口是4444,安装了LNMP,通过站长工具http://tool.chinaz.com/Tools/Robot.aspx查询211.144.121.185:4444/p.php有网页结果返回,但是在浏览器里输入211.144.121.185:4444/p.php却无法访问,不知道这是为什么呢?
nginx就是用的默认配置
我也尝试了把/usr/local/nginx/conf/nginx.conf
里面listen后的80改成4444,reboot后还是不能访问,而且连站长工具
http://tool.chinaz.com/Tools/Robot.aspx都[查询不到了211.144.121.185:4444/p.php
另:我安装LNMP后貌似没有iptables
nginx配置如下:
listen 80;
server_name 211.144.121.185:4444;
index index.html index.htm index.php;
root/home/wwwroot;
[ 本帖最后由 阿末 于 2013-4-16 00:15 编辑 ] 设置端口不是在servername上,要改listen
回复 2# 的帖子
listen 211.144.121.185:4444;server_name任意玉米 ;
军哥是这样吗? 可以
页:
[1]