12

In the Eclipse debug view:

enter image description here

what is the meaning of the localhost:51883? Is it the connection port for remote debugging? or is something else?

3
  • It's a port where you submit all your HTTP requests Commented Dec 19, 2012 at 8:16
  • I don't think this is the case. I'm connecting to this application through port 8080
    – H-H
    Commented Dec 19, 2012 at 8:16
  • @PradeepSimha : It is not the port at which you submit all your HTTP requests
    – Mukul Goel
    Commented Dec 19, 2012 at 9:19

2 Answers 2

9

this is the port using which Eclipse debugger communicates to the Virtual Machine. VM has got a JPDA (Java Platform Debugger Architecture) that provide interfaces (JVM TI - Java VM Tool Interface, JDI - Java Debug Interface) that tools like eclipse debugger use to connect and debug. And the port they connect onto is shown in that view.

You see, in this case your VM is on your localhost so it shows localhost:51883 , in case you were into remotedebugging, it would show serverIP:availableport

1

The eclipse debugger communicates with the VM via TPC, using this port. It works like remote debugging, but it connects on localhost.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.