We have developed a Java program that has a server / client setup through Java RMI. We are trying to deploy this in a linux environment using Amazon Web Services EC2. The client and server are able to connect from a single machine but unable to connect from separate machines where we get the following error:
java.rmi.ConnectException: Connection refused to host: LOCAL_IP_CLIENT; nested exception is:
java.net.ConnectException: Connection refused
We were able to solve this problem by creating brand new installations of our servers, both with Fedora core. It is unclear what exactly the problem was, but the Java code itself could not have been the
Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program.
Download Eclipse installation zip file:
Extract files from zip file:
Download and install JDK 8:
Open Eclipse and …