Home > PHP Framework > Workerman > What to do if workerman cannot open the external network?

What to do if workerman cannot open the external network?

藏色散人
Release: 2021-02-01 12:06:29
Original
3082 people have browsed it

What to do if workerman cannot open the external network?

workermanHow to solve the problem when the external network cannot be opened? Solving the problem of not being able to access Workerman normally

Recommended: "Workerman Tutorial"

Problem description:

The workererman application has been deployed on Alibaba Cloud ECS (ECS is a private network). All the ports required by workererman have been allowed in the ECS security group, but the external network has not been able to Open normally (note, 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, after closing firewalld.service, I did not close iptable.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 /etc/sysconfig /iptables rules.

The above is the detailed content of What to do if workerman cannot open the external network?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template