rustdesk-server icon indicating copy to clipboard operation
rustdesk-server copied to clipboard

The client always tries to access a non-existent port on the server: 21114

Open itning opened this issue 1 year ago • 0 comments

Bug Description

Deploy the server side using docker compose:

name: rustdesk
services:
  hbbs:
    container_name: hbbs
    image: rustdesk/rustdesk-server:latest
    command: hbbs
    volumes:
      - /home/dockerdata/rustdesk:/root
    network_mode: "host"
    depends_on:
      - hbbr
    restart: always

  hbbr:
    container_name: hbbr
    image: rustdesk/rustdesk-server:latest
    command: hbbr
    volumes:
      - /home/dockerdata/rustdesk:/root
    network_mode: "host"
    restart: always

Client ID, Network is set as shown below: image The client can connect to the server normally and the status is ready. Opened the Wireshark tool and found a request to access port 21114. image Search by port number, and PID is client. image I found that port 21114 is used to communicate with the web console in the pro version. But the non-professional version should not have this feature, so is it possible to turn off initiating 21114 requests? https://rustdesk.com/docs/zh-cn/self-host/rustdesk-server-pro/console/

How to Reproduce

  1. Build your own server
  2. Normal communication between client and server
  3. Monitor through Wireshark that the client makes a tcp request to the server on port 21114.

Expected Behavior

Do not initiate requests to port 21114.

Operating system(s) on local side and remote side

Windows 11 23H2 -> Linux 5.14.0-427.31.1.el9_4.x86_64

RustDesk Version(s) on local side and remote side

1.3.0 -> 1.3.0

Screenshots

image

Additional Context

No response

itning avatar Sep 15 '24 03:09 itning