I am trying to remotely debug an application using IntelliJ IDE and my application is deployed on Spring tcServer. I have followed standard procedure in IntelliJ to setup remote debugging and click debug button to start.
I am getting 'connection refused' error when trying to debug:
Unable to open debugger port: java.net.ConnectException "Connection refused: connect"
FYI: I have copied -Xdebug -Xrunjdwp:transport=dt_soc
tcServer configuration on remote machine and using the same port in IntelliJ.
Any red flags right away?