Top "Netstat" questions

netstat (network statistics) is a command-line tool that displays network connections (both incoming and outgoing), routing tables, and a number of network interface statistics.

How to use ADB shell to find the ports which a process is using?

For example, in Android, the PID of a process 1234 is using ports 2222,2223,2224. Now I have a PID 1234. I was wondering …

android linux port adb netstat
TCP connection owned by pid zero

I'm trying to ensure that a Windows service program (running on top of .NET) is properly releasing its network connections. …

.net windows tcp netstat
How to find a free TCP port

How do I find a completely free TCP port on a server? I have tried the command line; netstat -an …

linux tcp port netstat
What could cause so many TIME_WAIT connections to be open?

So, I have application A on one server which sends 710 HTTP POST messages per second to application B on another …

tcp network-programming netstat
How to find out application name by PID (process id)

I'm trying to install VisualSVN server and have message "Specified TCP port is occupied by another service". How I can …

process pid visualsvn-server netstat
Address already in use but nothing in netstat or lsof

I try to start the Python SimpleHTTPServer on port 7054 : $ sudo python -m SimpleHTTPServer 7054 ... socket.error: [Errno 98] Address already in use …

python linux port netstat lsof
Check if TCP port is available (not listening or connected)

I use following code to check if a port is available or not: bool ClassA::CheckPortTCP(short int dwPort , char *…

c++ network-programming port netstat
Extract IP from netstat output

The netstat output contains thing like... tcp 0 0 0.0.0.0:80 221.126.149.99:51973 ESTABLISHED 23879/apache2 tcp 0 0 0.0.0.0:80 66.249.68.154:40883 ESTABLISHED 23899/apache2 tcp 0 0 0.0.0.0:80 66.249.68.81:41200 ESTABLISHED 23892/apache2 tcp 0 0 0.0.0.0:80 66.249.67.121:59355 ESTABLISHED 23905/apache2 tcp 0 4465 0.0.0.0:80 110.75.175.27:48139 ESTABLISHED 23901/…

shell awk netstat
Node.js server only listening on ipv6

I am running a node.js server on port 5403. I can telent to the private ip on this port but …

node.js ubuntu ipv6 ipv4 netstat
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 …

apache netstat