本机有很多服务 其中一个服务arthas一直进不去 包这个错 哪位大佬遇到过?
2023-09-05 14:41:35 [arthas-binding-thread] ERROR c.t.a.c.shell.handlers.BindHandler -Error listening term server:
java.lang.IllegalArgumentException: hostname can't be null
at java.net.InetSocketAddress.checkHost(InetSocketAddress.java:149)
at java.net.InetSocketAddress.(InetSocketAddress.java:216)
at com.alibaba.arthas.deps.io.netty.util.internal.SocketUtils$10.run(SocketUtils.java:181)
at com.alibaba.arthas.deps.io.netty.util.internal.SocketUtils$10.run(SocketUtils.java:178)
at java.security.AccessController.doPrivileged(Native Method)
at com.alibaba.arthas.deps.io.netty.util.internal.SocketUtils.socketAddress(SocketUtils.java:178)
at com.alibaba.arthas.deps.io.netty.bootstrap.AbstractBootstrap.bind(AbstractBootstrap.java:253)
at com.taobao.arthas.core.shell.term.impl.http.NettyWebsocketTtyBootstrap.start(NettyWebsocketTtyBootstrap.java:76)
at com.taobao.arthas.core.shell.term.impl.http.NettyWebsocketTtyBootstrap.start(NettyWebsocketTtyBootstrap.java:112)
at com.taobao.arthas.core.shell.term.impl.HttpTermServer.listen(HttpTermServer.java:52)
at com.taobao.arthas.core.shell.impl.ShellServerImpl.listen(ShellServerImpl.java:137)
at com.taobao.arthas.core.server.ArthasBootstrap.bind(ArthasBootstrap.java:458)
at com.taobao.arthas.core.server.ArthasBootstrap.(ArthasBootstrap.java:157)
at com.taobao.arthas.core.server.ArthasBootstrap.getInstance(ArthasBootstrap.java:596)
at com.taobao.arthas.core.server.ArthasBootstrap.getInstance(ArthasBootstrap.java:584)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.taobao.arthas.agent334.AgentBootstrap.bind(AgentBootstrap.java:182)
at com.taobao.arthas.agent334.AgentBootstrap.access$000(AgentBootstrap.java:20)
at com.taobao.arthas.agent334.AgentBootstrap$1.run(AgentBootstrap.java:152)
2023-09-05 14:41:35 [arthas-binding-thread] ERROR c.t.a.core.server.ArthasBootstrap -Error during start as-server
java.lang.IllegalStateException: Arthas failed to bind telnet or http port! Telnet port: 3658, http port: 8563
at com.taobao.arthas.core.server.ArthasBootstrap.bind(ArthasBootstrap.java:462)
at com.taobao.arthas.core.server.ArthasBootstrap.(ArthasBootstrap.java:157)
at com.taobao.arthas.core.server.ArthasBootstrap.getInstance(ArthasBootstrap.java:596)
at com.taobao.arthas.core.server.ArthasBootstrap.getInstance(ArthasBootstrap.java:584)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.taobao.arthas.agent334.AgentBootstrap.bind(AgentBootstrap.java:182)
at com.taobao.arthas.agent334.AgentBootstrap.access$000(AgentBootstrap.java:20)
at com.taobao.arthas.agent334.AgentBootstrap$1.run(AgentBootstrap.java:152)
2023-09-05 14:41:35 [arthas-binding-thread] INFO c.t.a.core.server.ArthasBootstrap -as-server destroy completed.
java -jar arthas-boot.jar --target-ip localhost试试
此答案来自钉钉群“Arthas开源交流群”
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
阿里云拥有国内全面的云原生产品技术以及大规模的云原生应用实践,通过全面容器化、核心技术互联网化、应用 Serverless 化三大范式,助力制造业企业高效上云,实现系统稳定、应用敏捷智能。拥抱云原生,让创新无处不在。