File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Remote debugging problem in eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Remote debugging problem in eclipse" Watch "Remote debugging problem in eclipse" New topic

Remote debugging problem in eclipse

kanna kesavan

Joined: May 09, 2005
Posts: 6
I am using eclipse IDE and weblogic 8.1 server.When i do remote debugging in local server ,i am getting a message "Failed to connect to remote vm.connection refused".All my settings are correct.Can anybody help me out to solve this?
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33132

Is the port open that the debugger is using?

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

Is the App Server running. Was it run with the correct java arguments to put it into debug mode. Are the App Server and IDE using the same port #

Also do a search in the JavaRanch newsletter for my article on setting up IntelliJ and Eclipse for remote debugging.

Good Luck.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
kanna kesavan

Joined: May 09, 2005
Posts: 6
How to find whether the port is open or not.
Joe Intrakamhang

Joined: Apr 26, 2005
Posts: 5
I had the same problem with port 8000. I changed the port to 8085 (an open port) and then everything started working. You can use any port that you would like that is not being currently used.

Look for address in your startup script and changed it to something else
-Xdebug -Xrunjdwp:transport=dt_socket,address=8085,server=y,suspend=

I agree. Here's the link:
subject: Remote debugging problem in eclipse
It's not a secret anymore!