Home > PHP Framework > Workerman > Solution to workerman being unable to connect

Solution to workerman being unable to connect

Release: 2019-12-12 13:43:22
Original
3515 people have browsed it

Solution to workerman being unable to connect

The Workerman application has been deployed on Alibaba Cloud ECS (ECS is a private network). All ports required by Workerman have been allowed in the ECS security group, but the external network cannot be opened normally. (Note, other services can be accessed externally than port 80). The telnet connection displays "No route to host".

Recommended: workerman tutorial

Cause of the problem:

Because I don’t know much about centos7, after closing firewalld.service, I did not close iptable.service caused.

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.

The above is the detailed content of Solution to workerman being unable to connect. 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