linux - After ngxin is configured, the web page cannot be opened
怪我咯
怪我咯 2017-06-16 09:19:44
0
7
1364

I bought cloud server ECS from Alibaba Cloud. The system is CentOS7.2 64-bit;
Now ping the server and domain name address; both are OK, but the web page cannot be opened;
May I ask what the problem is;
On Linux, wget domain name also prompts that the resolution failed

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(7)
cloudmam

Alibaba Cloud Server can try Cloud Helper Operation and Maintenance Management

phpcn_u5126

sdafasdfasdasdfasdf

phpcn_u5126

fffffffffffffffffffff

phpcn_u5126
adsfadsfadsf


左手右手慢动作

1. Check whether the firewall has opened port 80
2. Whether the ECS security group has opened port 80

过去多啦不再A梦

What does it mean if it cannot be opened? Is there a status code?

过去多啦不再A梦

1. Check whether firewalld port 80 is open

firewall-cmd --zone=public --list-ports

Open the port if it is not open

firewall-cmd --zone=public --add-port=80/tcp --permanent  
firewall-cmd --reload

2. Check the security group of this instance of Alibaba Cloud backend ecs and see if port 80 is not open in the configuration rules

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template