Remote Debugging using IntelliJ IDE

Hello,

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_socket,server=y,suspend=n,address=5005
tcServer configuration on remote machine and using the same port in IntelliJ.

Any red flags right away?
pjajaraAsked:
Who is Participating?
 
pjajaraAuthor Commented:
I have fixed the problem by changing my firewall settings. Please do not hesitate to add more content to this problem and possible solutions.
0
 
pjajaraAuthor Commented:
I asked a question and there is no expert able to answer it. What a strange situation :(

Is this place really meant to help the people or just pull money out of newbies wallet?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.