walkor / walkor/workerman

Bug with multi server - they start listen port and get connection by another

Open
#865 17 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
11.6k
Forks
2.2k
Avg merge
11h 30m
Merged PRs (30d)
3

Description

Example:

1. Start workerman Websocket server on port 8081 - all ok
![image](https://user-images.githubusercontent.com/20768848/210416619-f0e73a61-7bd9-43f9-bba5-5bf605a09d12.png)

2. Connect to server via another application (not workerman, client on local machine at c# language) - all ok
![image](https://user-images.githubusercontent.com/20768848/210419295-3ab64111-ced0-4d1a-9b80-29c44f4902ad.png)

3. Start another workerman Websocket server on 8082 - all ok
![image](https://user-images.githubusercontent.com/20768848/210416839-16b5c803-4822-46a6-9418-d5b48eba86ff.png)

4. Server point 1 (8081) create workerman AsyncTcpConnection to server from pint 3 (with port 8082) - all ok (doesnt matter wich server connect AsyncTcpConnection first)
![image](https://user-images.githubusercontent.com/20768848/210416964-f0a17130-c125-4bb5-a93c-476f209fe40a.png)

5. Check after this 8081 port - not ok:

- Master and Worker of server from point 3 (with 8082 port) start to listen 8081 port too (as Unix console say at the picture)
![image](https://user-images.githubusercontent.com/20768848/210417473-a2e82ffc-9812-4251-b32a-1f9e227eae9e.png)

- additional this server from point 3 (port 8082) start to listen my client (what connect only to 8081 server from point 1) (as Lunix console say - you can see t the picture)
![image](https://user-images.githubusercontent.com/20768848/210417726-4c0b3f5b-6758-49a4-8aac-3328240bf705.png)

6. if i stop server from poit 1 (port 8081) server from point 3 still Listen the port 8081 and client from pint 2 now have Estabilished connection with server 3 (port 8082)
![image](https://user-images.githubusercontent.com/20768848/210418297-1956dfb0-293a-4c94-8b1f-be8aed5aa32c.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.