I have an RMI server and RMI client programs, when I execute RMI server on unix machine, and RMI client on Windows machine, I am getting
java.rmi.ConnectException: Connection refused to host: ; nested exception is: java.net.ConnectException: Connection refused: connect at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
at the client side. I am able to execute on server and client on windows system but the server on linux is not working.
I searched using google, but I am unable to find the reason and fix.
I would appreciate your help.
Thank you in advance!