rustdesk / rustdesk/rustdesk-server

Unknown Error... Login is attempting to use port 21114 for basic connection from phone to PC

Open
#616 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
10.4k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

Login error on self-hosted RustDesk Server OSS

Unknown Error: Exception: Failed to parse response.
reqwest: Error { kind: Request, url: "http://ipaddress:21114/api/login", source: TimedOut }

Image Image
[2025-11-30 01:07:37.413694 -06:00] INFO [src\rendezvous_server.rs:185] Start
[2025-11-30 01:08:19.351462 -06:00] INFO [src\common.rs:121] Private key comes from id_ed25519
[2025-11-30 01:08:19.351497 -06:00] INFO [src\rendezvous_server.rs:1205] Key: [REDACTED]
[2025-11-30 01:08:19.356212 -06:00] INFO [src\peer.rs:84] DB_URL=C:\WINDOWS\ServiceProfiles\LocalService\AppData\Roaming\RustDesk\config\db_v2.sqlite3
[2025-11-30 01:08:19.357943 -06:00] INFO [src\rendezvous_server.rs:99] serial=0
[2025-11-30 01:08:19.357954 -06:00] INFO [src\common.rs:45] rendezvous-servers=[]
[2025-11-30 01:08:19.357956 -06:00] INFO [src\rendezvous_server.rs:101] Listening on tcp/udp :21116
[2025-11-30 01:08:19.357957 -06:00] INFO [src\rendezvous_server.rs:102] Listening on tcp :21115, extra port for NAT test
[2025-11-30 01:08:19.357965 -06:00] INFO [src\rendezvous_server.rs:103] Listening on websocket :21118
[2025-11-30 01:08:19.361802 -06:00] INFO [src\rendezvous_server.rs:138] mask: None
[2025-11-30 01:08:19.361811 -06:00] INFO [src\rendezvous_server.rs:139] local-ip: ""
[2025-11-30 01:08:19.361824 -06:00] INFO [src\common.rs:45] relay-servers=[]
[2025-11-30 01:08:19.366741 -06:00] INFO [src\rendezvous_server.rs:153] ALWAYS_USE_RELAY=N
[2025-11-30 01:08:19.366768 -06:00] INFO [src\rendezvous_server.rs:185] Start

Already checked:

  • NAT rules on router.
  • Firewall on PC (win11 auto-configures to permit RustDeskServer) although, I do not see a literal entry for hbbr and hbbs
  • nssm

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the phone-to-PC login request to /api/login and compare it with the server's listed port listeners. Review the referenced entries in src/rendezvous_server.rs, src/common.rs, and src/peer.rs alongside the NAT and firewall configuration. Done means identifying why the request to port 21114 times out and documenting a reproducible resolution or narrowed cause.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.