mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2026-04-18 14:20:13 +00:00
modify -r
This commit is contained in:
@@ -44,10 +44,9 @@ pm2 start hbbr
|
||||
|
||||
<a name="demo"></a>
|
||||
{{% notice note %}}
|
||||
|
||||
pm2 requires nodejs v16+, if you fail to run pm2 (e.g. you can not see hbbs/hbbr in `pm2 list`), please download and install LTS version nodejs from https://nodejs.org. If you wanna make hbbs/hbbr auto-run after reboot, please check out `pm2 save` and `pm2 startup`. More about [pm2](https://pm2.keymetrics.io/docs/usage/quick-start/). Another good tool for you log is [pm2-logrotate](https://github.com/keymetrics/pm2-logrotate).
|
||||
|
||||
The `-r` parameter of hhbs is not necessary, it is just convenient for you not to specify a relay server on the client side, you do not need to specify port if you are using default 21117 port. The relay server specified by the client has a higher priority than this.
|
||||
The `-r` parameter of hhbs is not mandatory, it is just convenient for you not to specify a relay server on the controlled client side, you do not need to specify port if you are using default 21117 port. The relay server specified by the client has a higher priority than this. **For RustDesk controlled client >= 1.1.9, you do not need to specify relay server address on client side either, if the relay server does not run on different host or port.**
|
||||
{{% /notice %}}
|
||||
|
||||
By default, hbbs listens on 21115(tcp) and 21116(tcp/udp), 21118(tcp), hbbr listens on 21117(tcp), 21119(tcp). Be sure to open these ports in the firewall. **Please note that 21116 should be enabled both for TCP and UDP**. 21115 is used for NAT type test, 21116/UDP is used for ID registration and heartbeat service, 21116/TCP is used for TCP hole punching and connection service, 21117 is used for Relay services, 21118 and 21119 are used to support web clients. If you do not need web client (21118, 21119) support, the corresponding ports can be disabled.
|
||||
|
||||
Reference in New Issue
Block a user