Home >PHP Framework >Workerman >workerman cannot access normally
Problem description:
The workererman application has been deployed on Alibaba Cloud ECS (ECS is a private network), and all the workerman needs have been allowed in the ECS security group. port, but the external network has never been able to open normally (note that other services can be accessed externally than 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.
Recommended related articles and tutorials: workerman tutorial
The above is the detailed content of workerman cannot access normally. For more information, please follow other related articles on the PHP Chinese website!