I have an application running in server A. The dev environment is in server B.
I am trying to do remote debugging of app running in server A.
In server A i added following command to service start script
-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=4554,server=y,suspend=n
Failed to connect to remote VM. Connection refused. Connection refused
telnet [host] [port]- this will quickly let you know if there's anything listening to that port on that host.
Another way of starting the JVM that I use successfully is: