A “UDP failed” or UDP registration error in RustDesk (often appearing as start udp: … failed in logs or getting stuck on “Connecting to the RustDesk network”) may occur when the client cannot send or receive UDP packets on port 21116 or encounters a service initialization bug.
Quick Fix via Config File
Windows (Installed Service):
C:\Windows\ServiceProfiles\LocalService\AppData\Roaming\RustDesk\config\RustDesk2.toml
- Open
RustDesk2.tomlusing a text editor. - Under the
[options]section, add or modify the following lines:
disable-udp = 'Y'
enable-udp-punch = 'N'
3. Save the file and restart PC.
Credit By : Webstation