[jboss-user] [Remoting] - what does this mean?
kuvera
do-not-reply at jboss.com
Sat May 12 11:55:28 EDT 2007
Could somebody please explain to me this exception I get on the client side?
| org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for locator - InvokerLocator [socket://127.0.0.1:3873/]
| at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:319)
| at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:116)
| at org.jboss.remoting.Client.invoke(Client.java:612)
| [several more omitted for brevity]
| Caused by: java.net.ConnectException: Connection refused: connect
| at java.net.PlainSocketImpl.socketConnect(Native Method)
| at java.net.PlainSocketImpl.doConnect(Unknown Source)
| at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
| [several more omitted for brevity]
|
I use EJB3. Does it mean I also need to open port 3873 on the server? (currently 1098,1099,4444 are open). And why does it refer to localhost, when I did set java.rmi.server.hostname to the server external IP? (The server is bound to 0.0.0.0 because binding it to the external IP causes many exceptions) (4.2.0 CR2)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045205#4045205
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045205
More information about the jboss-user
mailing list