linux - What does the ESTABLISHED indicator mean after running lsof -


i ran command sudo lsof -i -n -p | grep tcp , wondering if more clarification on output.

specifically, in image:

enter image description here

why have ip:port pointing ip:port , @ label 'established'? confused on means exactly.

established means tcp connection has completed 3-way handshake. (not sure though whether accept must have been called). see tcp state diagram.

why have ip:port pointing ip:port , @ itself

that mean have 2 tcp sockets open in process. likely, 1 listens on port 9092, , 1 connected port 57633 listening socket. port 57633 belongs ephemeral port range, i.e. range of ports os automatically assigns sockets call connect did not call bind assign specific port.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -

jdbc - Not able to establish database connection in eclipse -