Issue
When tying to start Hybris in debug mode using Eclipse Kepler showing error
“Failed to connect to remote VM. Connection refused.
Connection refused: connect”
Even I tried by changing the default port also
tomcat.debugjavaoptions=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n
but showing the same error. Any help/suggestion will be appreciated.
Solution
Please change first debug port using below property
tomcat.debug.port=<please provide port which is free>
in local.properties
file then start server using
hybrisserver.bat debug
Answered By - manish
Answer Checked By - Pedro (JavaFixing Volunteer)