RMI through Internet.???
I write a program use RMI . it run in LAN ok, but when i test through internet enviroment it can not run and throw exception: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is: java.net.SocketException: Softwaare caused connection abort:recv failed
Help me: how to run RMI throught Internet?:confused:
Can you post the complete error message?
One more things to outline. Think about that the way it work when your communication happen from LAN to the WAN (Internet).
RMI through internet
Can you help me how to run RMI through Internet?
(server) MyPC-->.NAT-->Modem--->No-IP--->Client(call method from server).
"java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is: java.net.SocketException: Softwaare caused connection abort:recv failed"
Socket exception, are you sure that you can connect to relevant IP/Port in the other location. Telnet and check first of all.
when i try telnet command to ip with port from orther location on internet, it success..
As I said earlier post the complete error message here then. The one you post is not the complete stack trace you comes with.
sun.rmi.transport.tcp.TCPChannel.createConnection( Unknown Source)
sun.rmi.transport.tcp.TCPChannel.newConnection(Unk nown Source)
LIne 48 in Main method:
What's the registry value you fond in run time? You comes with a connect abort...