What ports does RustDesk use

RustDesk is a free and open-source remote desktop application for Windows, macOS, and Linux. It allows users to provide remote support to others or access their own computers from a different location. However, the specific port used by RustDesk may vary based on your configuration and network setup.

By default, RustDesk uses port 14250 for communication. This is the port that the RustDesk application listens on for incoming connections. However, please note that this default port can be changed by the user in the application’s settings.

RustDesk uses the following ports:

  • 21115 (TCP): This port is used for NAT type testing.
  • 21116 (TCP/UDP): This port is used for ID registration and heartbeat service.
  • 21117 (TCP): This port is used for relay services.
  • 21118 (TCP): This port is used to support web clients.
  • 21119 (TCP): This port is also used to support web clients.

If you are connecting to RustDesk over a firewall, you will need to make sure that these ports are open. You can also use the RustDesk web client, which does not require any ports to be open.

Here are some additional details about the RustDesk ports:

  • 21115: This port is used to test the NAT type of the remote device. This information is used to determine the best way to connect to the device.
  • 21116: This port is used for ID registration and heartbeat service. When a client connects to RustDesk, it registers its ID with the server. The server then sends heartbeat messages to the client to keep the connection alive.
  • 21117: This port is used for relay services. If the client and controlled devices cannot talk directly to each other, the relay part of the server will be used to handle the connection.
  • 21118: This port is used to support web clients. If you want to use the RustDesk web client, you will need to open this port.
  • 21119: This port is also used to support web clients. If you want to use the RustDesk web client, you will need to open this port.

If you’re using RustDesk on your network, you should ensure that the necessary port (default or user-defined) is allowed through any firewalls or network security settings to enable successful communication between the remote desktop instances.