[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Remote Debugging using IntelliJ IDE

Posted on 2012-08-27
Medium Priority
Last Modified: 2012-09-26

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?
Question by:pjajara
  • 2

Accepted Solution

pjajara earned 0 total points
ID: 38338436
I have fixed the problem by changing my firewall settings. Please do not hesitate to add more content to this problem and possible solutions.

Author Comment

ID: 38437965
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?

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month19 days, 21 hours left to enroll

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question