From 734e1f92e78b4d6941365523597592c1263c09d0 Mon Sep 17 00:00:00 2001 From: hengyunabc Date: Fri, 9 Oct 2020 17:10:21 +0800 Subject: [PATCH] update web-console.md --- site/src/site/sphinx/en/web-console.md | 6 +++--- site/src/site/sphinx/web-console.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/site/src/site/sphinx/en/web-console.md b/site/src/site/sphinx/en/web-console.md index b81073543..2083a6ac5 100644 --- a/site/src/site/sphinx/en/web-console.md +++ b/site/src/site/sphinx/en/web-console.md @@ -51,7 +51,7 @@ as.sh --tunnel-server 'ws://127.0.0.1:7777/ws' You can also use the following test address (not guaranteed to be available all the time): ```bash -as.sh --tunnel-server 'ws://47.75.156.201:7777/ws' +as.sh --tunnel-server 'ws://47.75.156.201:80/ws' ``` * You can specify the agentId by the `--agent-id` parameter. By default, a random ID is generated. @@ -83,11 +83,11 @@ If the connection is not connected to the tunnel server at startup, you can also JAVA_PID 86183 SESSION_ID f7273eb5-e7b0-4a00-bc5b-3fe55d741882 AGENT_ID URJZ5L48RPBR2ALI5K4V - TUNNEL_SERVER ws://47.75.156.201:7777/ws + TUNNEL_SERVER ws://47.75.156.201:80/ws ``` -For the above example, go to [http://47.75.156.201:8080/](http://47.75.156.201:8080/) in the browser and input the `agentId` to connect to arthas on remote machine. +For the above example, go to [http://47.75.156.201/arthas/?port=80](http://47.75.156.201/arthas/?port=80) in the browser and input the `agentId` to connect to arthas on remote machine. ![](_static/arthas-tunnel-server.png) diff --git a/site/src/site/sphinx/web-console.md b/site/src/site/sphinx/web-console.md index 9fa0e5cd0..4df220ad8 100644 --- a/site/src/site/sphinx/web-console.md +++ b/site/src/site/sphinx/web-console.md @@ -55,7 +55,7 @@ as.sh --tunnel-server 'ws://127.0.0.1:7777/ws' 也可以使用下面的测试地址(不保证一直可用): ```bash -as.sh --tunnel-server 'ws://47.75.156.201:7777/ws' +as.sh --tunnel-server 'ws://47.75.156.201:80/ws' ``` * 如果有特殊需求,可以通过`--agent-id`参数里指定agentId。默认情况下,会生成随机ID。 @@ -87,11 +87,11 @@ id URJZ5L48RPBR2ALI5K4V JAVA_PID 86183 SESSION_ID f7273eb5-e7b0-4a00-bc5b-3fe55d741882 AGENT_ID URJZ5L48RPBR2ALI5K4V - TUNNEL_SERVER ws://47.75.156.201:7777/ws + TUNNEL_SERVER ws://47.75.156.201:80/ws ``` -以上面的为例,在浏览器里访问 [http://47.75.156.201:8080/](http://47.75.156.201:8080/) ,输入 `agentId`,就可以连接到本机上的arthas了。 +以上面的为例,在浏览器里访问 [http://47.75.156.201/arthas/?port=80](http://47.75.156.201/arthas/?port=80) ,输入 `agentId`,就可以连接到本机上的arthas了。 ![](_static/arthas-tunnel-server.png)