mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2026-04-07 16:26:25 +00:00
synogy
This commit is contained in:
@@ -69,8 +69,11 @@ sudo docker run --name hbbs -p 21114:21114 -p 21115:21115 -p 21116:21116 -p 2111
|
||||
sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server:latest-arm64v8 hbbr -m <registered_email>
|
||||
```
|
||||
|
||||
<a name="net-host"></a>
|
||||
|
||||
{{% notice note %}}
|
||||
--net=host only works on Linux so far as I know, which make hbbs/hbbr can see the real incomming ip rather than contain ip (172.17.0.1)
|
||||
--net=host only works on Linux so far as I know, which make hbbs/hbbr can see the real incomming ip rather than container ip (172.17.0.1).
|
||||
If --net=host works fine, -p options are useless.
|
||||
|
||||
**Please remove --net=host if see connection problem no your platform**
|
||||
{{% /notice %}}
|
||||
|
||||
@@ -67,8 +67,11 @@ sudo docker run --name hbbs -p 21114:21114 -p 21115:21115 -p 21116:21116 -p 2111
|
||||
sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server:latest-arm64v8 hbbr -m <registered_email>
|
||||
```
|
||||
|
||||
<a name="net-host"></a>
|
||||
|
||||
{{% notice note %}}
|
||||
据我所知,--net=host 仅适用于 Linux,它让 hbbs/hbbr 可以看到对方真实的ip, 而不是固定的容器ip (172.17.0.1)
|
||||
据我所知,--net=host 仅适用于 Linux,它让 hbbs/hbbr 可以看到对方真实的ip, 而不是固定的容器ip (172.17.0.1)。
|
||||
如果--net=host运行正常,-p选项就不起作用了, 可以去掉。
|
||||
|
||||
**请去掉 --net=host,如果您在非Linux系统上遇到无法连接的问题**
|
||||
{{% /notice %}}
|
||||
|
||||
@@ -67,8 +67,11 @@ sudo docker run --name hbbs -p 21114:21114 -p 21115:21115 -p 21116:21116 -p 2111
|
||||
sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server:latest-arm64v8 hbbr -m <registered_email>
|
||||
```
|
||||
|
||||
<a name="net-host"></a>
|
||||
|
||||
{{% notice note %}}
|
||||
據我所知,--net=host 僅適用於 Linux,它讓 hbbs/hbbr 可以看到對方真實的ip, 而不是固定的容器ip (172.17.0.1)
|
||||
據我所知,--net=host 僅適用於 Linux,它讓 hbbs/hbbr 可以看到對方真實的ip, 而不是固定的容器ip (172.17.0.1)。
|
||||
如果--net=host運行正常,-p選項就不起作用了, 可以去掉。
|
||||
|
||||
****請去掉 --net=host,如果您在非Linux系統上遇到無法連接的問題**
|
||||
{{% /notice %}}
|
||||
|
||||
Reference in New Issue
Block a user