---
title: License
weight: 15
description: "Buy, enter, and manage your RustDesk Server Pro license in the web console. Learn where to obtain the license and how to activate or change it after purchase."
keywords: ["rustdesk pro license", "rustdesk server pro activate", "rustdesk pricing license", "rustdesk change license", "rustdesk web console license"]
---

Use this page to understand how to buy, activate, and update a RustDesk Server Pro license.

## How does RustDesk Server Pro licensing work?

RustDesk Server Pro licensing is tied to the `hbbs` server, not to every relay node. You buy the license through the pricing page, enter it in the web console, and then manage renewals, upgrades, invoices, and migration through the self-service license portal.

## License quick answers

- One license is assigned to one `hbbs` machine at a time
- `hbbr` relay servers do not require a separate license
- Renewals and upgrades are handled in the self-service portal, then activated by refreshing the license in the web console
- Migration is done by unbinding the old machine and setting the license on the new server
- If the server cannot reach the internet directly, you can configure a proxy for license verification

## Buy license

Please get your license from [https://rustdesk.com/pricing.html](https://rustdesk.com/pricing.html), enter a valid email address in the Stripe checkout page. The license (and the invoice in a separate mail) will be sent to your email once payment is done successfully.

![](/docs/en/self-host/rustdesk-server-pro/license/images/stripe.jpg)

## Set license

You will be required to enter license in the web console (`http://<rustdesk-server-pro-ip>:21114`), or change license later.

| Set license | Change license |
| --- | --- |
| ![](/docs/en/self-host/rustdesk-server-pro/license/images/set.png) | ![](/docs/en/self-host/rustdesk-server-pro/license/images/change.png) |

## Renew/upgrade license

Renew/upgrade license can be found via the [self-service license portal](https://rustdesk.com/self-host/account/) as described below, log in with the email you used to buy the license as above picture.

| License page with renew/upgrade actions | Upgrade window |
| --- | --- |
| ![](/docs/en/self-host/rustdesk-server-pro/license/images/renew.jpg?v2) | ![](/docs/en/self-host/rustdesk-server-pro/license/images/upgrade.png) |

After making the payment, please refresh the license [as below](/docs/en/self-host/rustdesk-server-pro/license/#refresh-license) to activate it.

### Refresh license
After payment, you need to proceed to the web console to activate it manually as below. Just click on `Edit`, then `OK`, no need to edit anything, because your license key remains the same.

![](/docs/en/self-host/rustdesk-server-pro/license/images/updatelic.jpg)

## Invoices, License Retrieval and Migration

The license can be only used on one machine (for hbbs only, hbbr does not require license), if you want to migrate to the other machine, retrieve your license or download invoices, please go to [https://rustdesk.com/self-host/account/](https://rustdesk.com/self-host/account/). Log in with the email address used for Stripe checkout, unbind the old machine you want to migrate from as below, when you set the license in the new servers web console it will assign the license and register automatically in the console.

![](/docs/en/self-host/rustdesk-server-pro/license/images/unbind.jpg)

## Proxy
If your server can not access internet to verify license directly, you can add proxy, e.g. `proxy=http://username:password@example.com:8080 ./hbbs`.

Alternatively, you can add `proxy=http://username:password@example.com:8080` to `.env` file under working directory (where `id_ed25519` / `db.sqlite3` files reside).

`http` can be replaced with `https` or `socks5`. If there is no `username` / `password` / `port`, it can be `proxy=http://example.com`.
