Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Meaning of port in Eclipse debug view

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?

like image 356
H-H Avatar asked Dec 19 '12 08:12

H-H


2 Answers

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

like image 71
Mukul Goel Avatar answered Sep 20 '22 21:09

Mukul Goel


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

like image 24
looper Avatar answered Sep 22 '22 21:09

looper