Home>Article>PHP Framework> What should I do if I can’t access workerman?

What should I do if I can’t access workerman?

藏色散人
藏色散人 Original
2020-04-09 09:04:28 3027browse

What should I do if I can’t access workerman?

workermanWhat should I do if I can’t access it?

Solving the problem of not being able to access workererman normally

Problem description:

The workererman application is deployed on Alibaba Cloud ECS (ECS is a private network). All the ports required by Workerman have been allowed in the ECS security group, but the external network has not been able to be opened normally (note that other services can be accessed outside port 80). The telnet connection shows "No route to host", and I turned off the firewalld firewall of centos7, which confused me.

Cause of the problem:

Because I don’t know much about centos7, it is caused by not closing iptable.service after closing firewalld.service.

Solution to the problem:

1. In the security group inbound direction, set the port range of workererman

2. Turn off the firewalld firewall and modify the /etc/sysconfig/iptables rules.

Related recommendations: "workerman Tutorial"

The above is the detailed content of What should I do if I can’t access workerman?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn