update web-console.md

oneagent
hengyunabc 4 years ago
parent a7a1c06ecb
commit 4214156579

@ -29,9 +29,9 @@ java -jar arthas-tunnel-server.jar
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):
```bash
as.sh --tunnel-server 'ws://47.75.156.201:7777/ws'
```

@ -34,9 +34,9 @@ java -jar arthas-tunnel-server.jar
默认情况下arthas tunnel server的web端口是`8080`arthas agent连接的端口是`7777`。
启动之后,可以访问 [http://localhost:8080/](http://localhost:8080/) ,再通过`agentId`连接到已注册的arthas agent上。
启动之后,可以访问 [http://127.0.0.1:8080/](http://127.0.0.1:8080/) ,再通过`agentId`连接到已注册的arthas agent上。
通过Spring Boot的Endpoint可以查看到具体的连接信息 [http://localhost:8080/actuator/arthas](http://localhost:8080/actuator/arthas) ,登陆用户名是`arthas`密码在arthas tunnel server的日志里可以找到比如
通过Spring Boot的Endpoint可以查看到具体的连接信息 [http://127.0.0.1:8080/actuator/arthas](http://127.0.0.1:8080/actuator/arthas) ,登陆用户名是`arthas`密码在arthas tunnel server的日志里可以找到比如
```
32851 [main] INFO o.s.b.a.s.s.UserDetailsServiceAutoConfiguration
@ -48,6 +48,12 @@ Using generated security password: f1dca050-3777-48f4-a577-6367e55a78a2
在启动arthas可以传递`--tunnel-server`参数,比如:
```bash
as.sh --tunnel-server 'ws://127.0.0.1:7777/ws'
```
也可以使用下面的测试地址(不保证一直可用):
```bash
as.sh --tunnel-server 'ws://47.75.156.201:7777/ws'
```

Loading…
Cancel
Save