Home > PHP Framework > Workerman > What should I do if the worker port is blocked?

What should I do if the worker port is blocked?

藏色散人
Release: 2021-02-01 12:03:58
Original
3157 people have browsed it

What should I do if the worker port is blocked?

workermanWhat should I do if the port is blocked?

The reason why the WorkerMan WebSocket port is unavailable

I just made a demo chat room using workerMan. It feels quite fun. I decided to introduce the front-end to those who don’t understand the background. Pretend to be an uncle,

1. The local client and server are both 127.0.0.1:2346. When I opened two browsers for testing, it ran very happily. At the same time, I changed the client and server to 192.168. .5.18:2346 network segment

2. As a result, after my colleague’s LAN accessed the 80 port demo of my machine, an error was reported and he even laughed at me sarcastically. Do you want to show me the bug?

3. Directly look at the solution results! ! Solved result! ! ! result! ! !

Several big pitfalls you will encounter:

1. Firewall problem (it is recommended to turn it off)

2. Workerman’s server is not running (the probability is extremely low )

3. Please set it directly in the server to 0.0.0.0:port (save worry) and the client to server IP:port

4. If there is no connection, check the outbound Whether the port is set for the rules and inbound rules, the telnet command can be tested

5. The problem that troubled me for two hours Adsafe Net Master intercepted it, uninstall it decisively, and never use it again

What should I do if the worker port is blocked?

Display Picture

What should I do if the worker port is blocked?

Backend Settings

Related recommendations: "workerman Tutorial"

The above is the detailed content of What should I do if the worker port is blocked?. 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