fatpd 发表于 2015-10-7 20:24:13

阿里云CentOS 5.4 32位 安装LNMP 1.2 之后无法通过ip或域名访问

阿里云CentOS 5.4 32位安装LNMP 1.2 完成之后显示是成功的,但是无法通过ip地址或域名来访问。

系统防火墙已经关闭了。

麻烦军哥帮我看下怎么回事吧,谢谢了!



以下是安装完成之后显示的信息:

============================phpMyAdmin install completed=======================

Saving firewall rules to /etc/sysconfig/iptables:         
Add Startup and Starting LNMP...
Add nginx service at system startup...
Starting nginx...done
Add mysql service at system startup...
Starting MySQL.. SUCCESS!
Add php-fpm service at system startup...
Starting php-fpmdone
============================== Check install ==============================
Checking ...
Nginx: OK
MySQL: OK
PHP: OK
PHP-FPM: OK
+------------------------------------------------------------------------+
|          LNMP V1.2 for CentOS Linux Server, Written by Licess          |
+------------------------------------------------------------------------+
|         For more information please visit http://www.lnmp.org          |
+------------------------------------------------------------------------+
|    lnmp status manage: lnmp {start|stop|reload|restart|kill|status}    |
+------------------------------------------------------------------------+
|phpMyAdmin: http://IP/phpmyadmin/                                     |
|phpinfo: http://IP/phpinfo.php                                        |
|Prober:http://IP/p.php                                              |
+------------------------------------------------------------------------+
|Add VirtualHost: lnmp vhost add                                       |
+------------------------------------------------------------------------+
|Default directory: /home/wwwroot/default                              |
+------------------------------------------------------------------------+
|MySQL/MariaDB root password: ******                        |
+------------------------------------------------------------------------+
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|            http://lnmp.org            |
+-------------------------------------------+
nginx (pid 17429) is running...
php-fpm is runing!
SUCCESS! MySQL running (17848)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State      
tcp      0      0 0.0.0.0:3306                0.0.0.0:*                   LISTEN      
tcp      0      0 0.0.0.0:80                  0.0.0.0:*                   LISTEN      
tcp      0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      
Install lnmp V1.2 completed! enjoy it.

licess 发表于 2015-10-8 09:02:48

iptables -L -n看一下你的防火墙规则

fatpd 发表于 2015-10-8 12:03:21

谢谢军哥!您看下吧,多谢了!

# iptables -L -n
Chain INPUT (policy ACCEPT)
target   prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target   prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target   prot opt source               destination

licess 发表于 2015-10-8 20:54:48

iptables看没问题

域名加白名单了没?

fatpd 发表于 2015-10-8 21:35:38

您好,军哥,谢谢!

域名都是在万网做好了备案的,我刚才又提交了工单,让他们加入白名单,看看情况如何,谢谢了!
页: [1]
查看完整版本: 阿里云CentOS 5.4 32位 安装LNMP 1.2 之后无法通过ip或域名访问