Forums Register Login

RMI Exception

+Pie Number of slices to send: Send
Can any one tell me why these information display when I trying to bind an object to rmi server.
java.rmi.ConnectException: Connection refused to host: 192.168.0.11; nested exception is:
java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320)
Server start error!
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120)
at java.net.Socket.<init>(Socket.java:273)
at java.net.Socket.<init>(Socket.java:100)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:25)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:120)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:499)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:190)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:174)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:318)
at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
at suncertify.server.Server.main(Server.java:27)
+Pie Number of slices to send: Send
 

at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)


I'd start here, why is it an unknown source? Did you run rmic on your class you intend to bind?
Mark
+Pie Number of slices to send: Send
It's an unknown source, I suspect, because no debugging information has been compiled in. I notice the IP is from a NAT range. Do you have network configuration problems and/or a personal firewall? Are you trying to access the registry from a different machine?
- Peter
[ December 02, 2002: Message edited by: Peter den Haan ]
Forget Steve. Look at this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1073 times.
Similar Threads
ConnectRefused in RMI
help jboss
Can you help me to solve this rmi connection problem
The concurrent problem about RMI
Why can't client connect to RMI server on same machine?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 15, 2024 22:20:46.