Home > PHP Framework > Workerman > body text

workerman cannot access normally

王林
Release: 2019-12-18 17:44:29
Original
1999 people have browsed it

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!

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