Category "netstat"

netstat misses some ports [closed]

$ nmap localhost Starting Nmap 6.40 ( http://nmap.org ) at 2019-02-12 12:59 +00 Nmap scan report for localhost (127.0.0.1) Host is up (0.0027

Socket programming, what about "CLOSE_WAIT", "FIN_WAIT_2" and "LISTENING"?

I am writing a socket based C application which seems to behave in a very unstable way. The code is standard socket handling on TCP port 6683, and I know it has

Getting count of established connections to a host on apache server

Lets say I have 5 sites hosted on apache server. Now to get the total established connections to apache I can use: netstat -anp | grep :80 | grep ESTABLISHED |