Exception in thread "main" java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused: connect]
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:338)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:227)
at cn.com.agree.monitor.RMIClientTest.main(RMIClientTest.java:54)
Caused by: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused: connect]
at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)
at
java用JMX远程监控客户端的一个练习报错:
答案:3 悬赏:0
解决时间 2021-02-19 20:54
- 提问者网友:温柔又任性
- 2021-02-19 15:28
最佳答案
- 二级知识专家网友:高冷不撩人
- 2021-02-19 15:44
这么流氓,监控客户端!
全部回答
- 1楼网友:开心就好
- 2021-02-19 17:16
权限够吗?
- 2楼网友:浪女动了心
- 2021-02-19 16:17
拒绝连接到主机!!!权限,开远程了么?
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯