update doc

This commit is contained in:
hengyunabc committed 2020-10-09 17:11:17 +08:00
1 parent 7d17fd3baf
commit a12f090ab7
7 files changed
+15 -15

No files matched your search

+3 -3
View File
@@ -232,7 +232,7 @@ Using generated security password: f1dca050-3777-48f4-a577-6367e55a78a2</pre>
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash">as.sh --tunnel-server &#x27;ws://127.0.0.1:7777/ws&#x27;</pre></div>
</div>
<p>也可以使用下面的测试地址(不保证一直可用):</p>
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash">as.sh --tunnel-server &#x27;ws://47.75.156.201:7777/ws&#x27;</pre></div>
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash">as.sh --tunnel-server &#x27;ws://47.75.156.201:80/ws&#x27;</pre></div>
</div>
<ul class="simple">
<li><p>如果有特殊需求,可以通过<code class="docutils literal notranslate"><span class="pre">--agent-id</span></code>参数里指定agentId。默认情况下,会生成随机ID。</p></li>
@@ -258,9 +258,9 @@ id URJZ5L48RPBR2ALI5K4V</pre></div>
JAVA_PID 86183
SESSION_ID f7273eb5-e7b0-4a00-bc5b-3fe55d741882
AGENT_ID URJZ5L48RPBR2ALI5K4V
TUNNEL_SERVER ws://47.75.156.201:7777/ws</pre></div>
TUNNEL_SERVER ws://47.75.156.201:80/ws</pre></div>
</div>
<p>以上面的为例,在浏览器里访问 <a class="reference external" href="http://47.75.156.201:8080/">http://47.75.156.201:8080/</a> ,输入 <code class="docutils literal notranslate"><span class="pre">agentId</span></code>,就可以连接到本机上的arthas了。</p>
<p>以上面的为例,在浏览器里访问 <a class="reference external" href="http://47.75.156.201/arthas/?port=80">http://47.75.156.201/arthas/?port=80</a> ,输入 <code class="docutils literal notranslate"><span class="pre">agentId</span></code>,就可以连接到本机上的arthas了。</p>
<p><img alt="_images/arthas-tunnel-server.png" src="_images/arthas-tunnel-server.png" /></p>
</div>
<div class="section" id="id1">