rustdesk / rustdesk-server

RustDesk Server Program

Home Page:https://rustdesk.com/server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About IP settings for ID/Relay server

yevon-cn opened this issue · comments

Describe the bug
I don't know if this is a bug or a problem with my operation. Below is the situation of my operating environment:

  • I used PC1 to install rustdesk-server and rustdesk-client, use default config to run. Because of they are on one PC, so I set the client ID/Relay server with IP:127.0.0.1,it show Ready.
  • I used PC2 Within the same LAN to install rustdesk-client, I set the client ID/Relay server with the LAN IP of PC1, it show Ready.
  • Then I use PC2's client to connect PC1's client, it show Connection error: "Failed to connect via relay server: Failed to connect to relay server: Please try later"; if I use PC1's client to connect PC2's client, it works.

So why?

But if I set PC1's client ID/Relay server with LAN IP, then PC2's client can connect PC1's client. So IP setting for ID/Relay server must be the same subnet?
The same situation occurs in if I use phone via IPv6 not LAN(set the client ID/Relay server with PC1's IPV6) to connect PC1 or PC2,it can't works too. If use the client of PC1 or PC2 to connect phone via IPv6 , it works.
Did I configure something incorrectly? Or is it supposed to be like this?

Describe the environment

  • Install environment: windows11 Professional version(with server install by nssm) and windows10 Professional version