Netstat (network statistic) is a tool, common to Windows, Unix and Linux, used to obtain information about network connections (outbound and inbound), routing tables, and a range of information on the use of statistics the network interface. Netstat.exe command line that shows all open ports for ...

learn more… | top users | synonyms

28
votes
15answers
58k views

How do I kill a process that is dead but listening?

I'm developing an app that listens on port 3000. Apparently there's an instance of it still listening to the port because whenever I start it, it can't create a listener (C#, TcpListener, but that's ...
1
vote
1answer
318 views

Nestat -ano what does it mean?

I tried checking my PC if there are some loggers installed and what I get was: TCP 192.168.1.7:2642 192.168.1.2:445 ESTABLISHED 4 When I checked in my Task Manager it says system? What ...
2
votes
1answer
2k views

netstat: grep lines related to a specific process

I know that, in Windows, you could do the following to see what processes are attached to a port: netstat -a -b However, how would you limit the display to ports attached to a specific process? I ...
3
votes
1answer
2k views

Could you help me to understand netstat output?

I am trying to figure out how to get IP of a suspicious access point I am using to access the internet. Running netstat, I get the following: $ netstat -rn Routing tables Internet: Destination ...
0
votes
2answers
487 views

Filtering UDS from output of netstat without grep

how I cat to filter out information about Unix Domain Sockets from netstat output without grep? Is there some option for command (I not found it in man of netstat). Thank you for ahead.
0
votes
1answer
447 views

How to analyse the results of a netstat command on Windows, as during the night my internet connection slows down?

My internet connection gets very slow at night and my ISP told me to use netstat to see how many tcp connetions there is there is usually about 30 or more with ether time wait established but I also ...
7
votes
1answer
14k views

How can I close a port (seen open on netstat)?

I used netstat and I see some ports open that I want closed. How do I close them? The computer is a Mac running OS X
4
votes
2answers
211 views

How can I determine the process for what is listening on the network in linux?

When I use netstat -tup, it only shows the processes for some. There are other ports that just have a - for PID, so how would I find out what process is listening on these ports?
0
votes
2answers
272 views

Netstat -i redirection problem

When I run this command netstat -t 1 -i 2>&1 > $NETStat_OUT_FILE & inside a script , the output of netstat does not get redirected to the file.. Could any one find a solution for this ?
1
vote
2answers
523 views

Is it possible to know which process opened a connection in Windows?

With netstat -a I can see all connections from my machine to the MySQL Server. There is any way too see which process or executable is responsible for each connection? The only solution I found so ...