By default, the web port of the arthas tunnel server is `8080`, and the port connected by the arthas agent is `7777`.
Once started, you can go to [http://localhost:8080/](http://localhost:8080/) and connect to the registered arthas agent via `agentId`.
Once started, you can go to [http://127.0.0.1:8080/](http://127.0.0.1:8080/) and connect to the registered arthas agent via `agentId`.
Through Spring Boot's Endpoint, you can view the specific connection information: [http://localhost:8080/actuator/arthas](http://localhost:8080/actuator/arthas), the login user name is `arthas`, and the password can be found in the log of arthas tunnel server, for example:
Through Spring Boot's Endpoint, you can view the specific connection information: [http://127.0.0.1:8080/actuator/arthas](http://127.0.0.1:8080/actuator/arthas), the login user name is `arthas`, and the password can be found in the log of arthas tunnel server, for example:
```
32851 [main] INFO o.s.b.a.s.s.UserDetailsServiceAutoConfiguration
@ -44,6 +44,12 @@ Using generated security password: f1dca050-3777-48f4-a577-6367e55a78a2
When starting arthas, you can use the `--tunnel-server` parameter, for example:
```bash
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):
<p>By default, the web port of the arthas tunnel server is <codeclass="docutils literal notranslate"><spanclass="pre">8080</span></code>, and the port connected by the arthas agent is <codeclass="docutils literal notranslate"><spanclass="pre">7777</span></code>.</p>
<p>Once started, you can go to <aclass="reference external"href="http://localhost:8080/">http://localhost:8080/</a> and connect to the registered arthas agent via <codeclass="docutils literal notranslate"><spanclass="pre">agentId</span></code>.</p>
<p>Through Spring Boot’s Endpoint, you can view the specific connection information: <aclass="reference external"href="http://localhost:8080/actuator/arthas">http://localhost:8080/actuator/arthas</a>, the login user name is <codeclass="docutils literal notranslate"><spanclass="pre">arthas</span></code>, and the password can be found in the log of arthas tunnel server, for example:</p>
<p>Once started, you can go to <aclass="reference external"href="http://127.0.0.1:8080/">http://127.0.0.1:8080/</a> and connect to the registered arthas agent via <codeclass="docutils literal notranslate"><spanclass="pre">agentId</span></code>.</p>
<p>Through Spring Boot’s Endpoint, you can view the specific connection information: <aclass="reference external"href="http://127.0.0.1:8080/actuator/arthas">http://127.0.0.1:8080/actuator/arthas</a>, the login user name is <codeclass="docutils literal notranslate"><spanclass="pre">arthas</span></code>, and the password can be found in the log of arthas tunnel server, for example:</p>
<divclass="highlight-default notranslate"><preclass="literal-block">32851 [main] INFO o.s.b.a.s.s.UserDetailsServiceAutoConfiguration
Using generated security password: f1dca050-3777-48f4-a577-6367e55a78a2</pre>
@ -225,6 +225,9 @@ Using generated security password: f1dca050-3777-48f4-a577-6367e55a78a2</pre>
<h3>Connecting to the tunnel server when starting arthas<aclass="headerlink"href="#connecting-to-the-tunnel-server-when-starting-arthas"title="Permalink to this headline">¶</a></h3>
<p>When starting arthas, you can use the <codeclass="docutils literal notranslate"><spanclass="pre">--tunnel-server</span></code> parameter, for example:</p>