开发者

RMI Connection refused

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜