I'm trying to open a JMX connection to java application running on a remote machine.
The application JVM is configured with the following options:
telnet xxx.xxx.xxx.xxx 1088
Had it been on Linux the problem would be that localhost is the loopback interface, you need to application to bind to your network interface.
You can use the netstat to confirm that it is not bound to the expected network interface.
You can make this work by invoking the program with the system parameter
java.rmi.server.hostname="YOUR_IP", either as an environment variable or using
java -Djava.rmi.server.hostname=YOUR_IP YOUR_APP