VPS侦探论坛

 找回密码
 注册
查看: 4526|回复: 3

求军哥帮忙看下这是什么问题

[复制链接]
发表于 2013-4-15 23:04:25 | 显示全部楼层 |阅读模式

医院给了一台服务器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 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-4-16 07:33:06 | 显示全部楼层


设置端口不是在servername上,要改listen
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2013-4-16 07:46:07 | 显示全部楼层

回复 2# 的帖子


listen       211.144.121.185:4444;
server_name任意玉米 ;
军哥是这样吗?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-4-16 12:49:53 | 显示全部楼层



可以
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-24 11:26 , Processed in 0.026041 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表