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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -