Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » How to debug in local eclipse when server is in another box? (How to establish a debug connection of an application running on an external server with an eclipse installed in local server/system. )
How to debug in local eclipse when server is in another box? [message #1865541] Mon, 06 May 2024 11:33 Go to next message
Haripriya Jorapur is currently offline Haripriya JorapurFriend
Messages: 3
Registered: May 2024
Junior Member
I have provided the appropriate details (IP address and port number) of the server where my application is running in the Remote Java Application columns. However, my eclipse is installed in my local. When I'm trying to start debug mode, it says VM refused to connect. Is there anyway to resolve this issue?

For reference -
My local IP where eclipse is installed is 10.x.x.29
The server IP where my targeted application is installed is 10.x.x.25

Is it possible to connect an application that is running on a different server to the eclipse in local system? Please help me out if you are aware of this. Thank you!
Re: How to debug in local eclipse when server is in another box? [message #1865544 is a reply to message #1865541] Mon, 06 May 2024 13:10 Go to previous messageGo to next message
Jay Arthanareeswaran is currently offline Jay ArthanareeswaranFriend
Messages: 134
Registered: July 2009
Senior Member
Hello,
This is a forum for Eclipse JDT related questions. You are more likely to get better responses on StackOverflow or similar forums.

That said, have you checked if you are able to access the said IP address at the port (for e.g. telnet).
Re: How to debug in local eclipse when server is in another box? [message #1865586 is a reply to message #1865544] Tue, 07 May 2024 12:02 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4507
Registered: July 2009
Senior Member

And, of course, that the server's JVM is listening for incoming debugger connections?

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: How to debug in local eclipse when server is in another box? [message #1865589 is a reply to message #1865586] Tue, 07 May 2024 12:05 Go to previous messageGo to next message
Haripriya Jorapur is currently offline Haripriya JorapurFriend
Messages: 3
Registered: May 2024
Junior Member
Nitin Dahyabhai, yes, it is listening for incoming debugger connections.
Re: How to debug in local eclipse when server is in another box? [message #1865592 is a reply to message #1865586] Tue, 07 May 2024 12:11 Go to previous message
Haripriya Jorapur is currently offline Haripriya JorapurFriend
Messages: 3
Registered: May 2024
Junior Member
Nitin Dahyabhai, yes, it is listening for incoming debugger connections.
Previous Topic:Debugging Virtual Threads
Next Topic:Eclipse unable to reference class ending with "$" in its name?
Goto Forum:
  


Current Time: Wed Feb 05 10:01:36 GMT 2025

Powered by FUDForum. Page generated in 0.04176 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top