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)
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 ]
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.