arthas
arthas copied to clipboard
怎么使用控制台访问arthas
- [ ] 我已经在 issues 里搜索,没有重复的issue。
环境信息
- Arthas 版本: version 3.7.2
- 操作系统版本: MacOS
- 目标进程的JVM版本: 1.8
重现问题的步骤
- 使用gradle引入 implementation("com.taobao.arthas:arthas-spring-boot-starter")
- 启动服务
- 通过http://127.0.0.1:8563/ 可以进入web console
问题
通过以上的操作,我启动了服务,并且也可以在浏览器通过IP:port的方式访问,一切访问正常。 我想知道的时候怎么通过控制台访问,而不是必须要依赖浏览器。因为在服务器上一般不会有可视化的系统来让我们使用浏览器操作
用telnet访问啊 ,arthas.telnetPort=3658 默认端口是这个,telnet ip:port就可以了,但是我还是推荐用https://arthas.aliyun.com/doc/tunnel.html 的方案去做