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

gcc - MinGW's ld cannot perform PE operations on non PE output file -

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

c# - Search and Add Comment with OpenXML for Word -