search
HomePHP FrameworkWorkermanWhat should I do if the worker port is blocked?

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!

Statement
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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment