Home > Article > PHP Framework > 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!