开发者

RMI Connection refused

开发者 https://www.devze.com 2023-03-17 02:15 出处:网络
When I started RMI service and then I trie开发者_如何转开发d to connect to it and then an exception happened, which says \"connection refused\", but I try to telnet to RMI service what can establish t

When I started RMI service and then I trie开发者_如何转开发d to connect to it and then an exception happened, which says "connection refused", but I try to telnet to RMI service what can establish the connection. My RMI server running on a Linux machine and client server is a web server.


That sounds like if your RMI-Registry is not running. Usually u can test this if you lookup netstat outputs.

In Linux:

rmiregistry &

You can also test if it is present with

ps aux | grep rmiregistry


Connection refused to what? If it was 127.0.0.1 and you were expecting a remote address, see item A.1 of the RMI FAQ.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号