Link to home
Start Free TrialLog in
Avatar of softbless
softbless

asked on

Problem in remote debugging with Eclipse

Hi Guys,

Please help. I did remote debugging, but it's giving me error.

The firewall is off, and i;ve checked that this port 8009 is working, I've checked that it's listening.

But it always give connection timed out. I attach the screen shot.

 User generated image
This is the configuration :
set JPDA_ADDRESS=8009
set JPDA_TRANSPORT=dt_socket
set DEBUG_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8009

Please help. Thanks.
Avatar of Sathish David  Kumar N
Sathish David Kumar N
Flag of India image

How configer remote IP ?

in cmd promet or Eclipse run/debug menu ?
Avatar of softbless
softbless

ASKER

What do you mean by remote IP? I just enter : localhost

this is my setting on eclipse

 User generated image
host : you want to give remote IP not yours(localhost is ur IP)
you can go to remote machine !

and go to command promet and Ipconfig or hostname in the command promet and the result paste in host !

ASKER CERTIFIED SOLUTION
Avatar of Sathish David  Kumar N
Sathish David Kumar N
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
it's in my system.

Btw, what do u mean by command promet?

I've replaced the localhost with my computer name and ip address, but it's still giving the same error.
This configuration for remote system not for local system .

Remote system : Another system which is running your application

Local System : which is ur login so u need only normal debugging method .

http://www.vogella.de/articles/EclipseDebugging/article.html 

http://www.developer.com/java/other/article.php/2221711/Debugging-a-Java-Program-with-Eclipse.htm
where is ur application running in ur system or some other system ?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks