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

1
vote
0answers
1k views

why doesn't “netstat -nlp” display the pid?

I use the command nestat -nlp, but it doesn't display the pid, like this: root@***. /$ netstat -nlp | grep 4607 tcp 0 0 0.0.0.0:4607 0.0.0.0:* LISTEN ...
0
votes
1answer
522 views

How to get netstat results grouping by app name?

I use windows 7. I want get result such as distinct netstat -b. Just get a list of all applications use the network. How to do it?
1
vote
1answer
963 views

The meaning of port 0 in netstat output

What is the meaning of port 0 in netstat -an output in Windows? I'm asking about socket in Foreign address column: 0.0.0.0:0 I know that 0.0.0.0 address means, that host is listening on all ...
4
votes
2answers
26k views

How to kill a particular tcp connection in windows?

On Linux we can kill an Established TCP Connection using tcpkill command. For example, to drop all connection to/from a particular IP: tcpkill host ipaddr Or similary to kill all connection ...
0
votes
2answers
128 views

What exactly is using port 29178

I am trying to launch a program which is uses port 29178 but it won't start up because it says the port is already in use. Netstat gives me this C:\Rush>netstat -aon | findstr 29178 TCP ...
1
vote
1answer
272 views

Already dead process is continuing to eat net traffic

I'm using Windows 7, Ruby 1.9.2, SciTE, Outpost Pro 2009 and NetBalancer. Wrinting Ruby programs in SciTE I press Ctrl+Break to kill them. This way is designed to be easy, quick and reliable. But now ...
3
votes
2answers
3k views

What does 'Listening' refer to when looking at the results displayed by netstat?

I am having a hard time understanding what 'Listening' refers to when I am looking at the netstat results of my PC for example. Does it mean I have an application or service that is waiting for a ...
1
vote
1answer
658 views

Why does netstat on Windows show connections over 24 hours old?

I'm getting the error relating to port exhaustion on my server ("Only one usage of each socket address (protocol/network address/port) is normally permitted"). So, I checked with netstat -n, and it ...
0
votes
2answers
797 views

Unix basic shell script help needed please?

I need some help writing a basic Unix shell script that will run on AIX: Loop that will run a netstat command (netstat -an| grep 16752| grep ESTABLISHED| wc -l) that counts sessions every second and ...
1
vote
0answers
313 views

When and why does Gateway Metric become equal to Interface Metric ? (Windows network Adapters)

netsh interface ip show address .... command reveals some information about the gateway and interface metrics of each type of adapter . However the gateway metric seems to alwyas change and sometimes ...
2
votes
3answers
2k views

How can I tell which of multiple network cards is in use?

Suppose I have multiple network cards connected to my PC, how can I know which card is used for communication. For example, if I use ping 192.168.x.xxx I would like to know which card (and which ...
4
votes
1answer
648 views

Where does netstat get the process name?

I am developing a node application and there is an option to set the process title (process name). This only sets it in some tools (like ps and top), but not in htop or netstat. I found this article ...
0
votes
1answer
370 views

What's the '-' stands for in the output of 'netstat -anp'?

I want to use netstat -anp to check which program/process is listening a specific port. But the output includes lots of lines in which the value of 'PID/Program Name' column is just a -. For example ...
0
votes
1answer
669 views

Why netstat/TCPView/CurrPorts lists processes as unknown?

I'm trying to record data of all the processes that establish connections from my PC for security issues, I tried to do netstat -bn 1 > stats.txt, also tried to make a log file with CurrPorts, TCPView ...
1
vote
1answer
2k views

why can't I open a port on Win 7? is it the app's fault?

I am having problems opening a port from one Windows PC on my local network. On Windows 7 computer ("Computer A") I running Calibre, an ebook management program that has something called an "ebook ...
1
vote
2answers
1k views

Count exchanged bytes per TCP connection

I need to get a table updated with the exchanged bytes (Rx and/or Tx) for each ESTABLISHED TCP connection on a linux machine (well, at least, a list of connections (port ranges), thus not actually ...
1
vote
2answers
337 views

what is ip 10.1.1.130 to which seems monitored by NT Kernel & System process on Windows 7?

I used netstat to see what is happening with network connections, and I see this weird ip address somehow listed together with PID 4 "NT Kernel & System", whatever that might be. Netstat describes ...
2
votes
2answers
132 views

Windows XP can use a wired network port, but MacBook (OS X) fails on the same port

I wired the Cat5 in my house seven years ago. The wired ports have worked fine with both my Windows XP laptop and MacBook. My wireless network also works fine, but I like to use wired occasionally. ...
2
votes
3answers
980 views

Output of “netstat” shows domain I never visited

I think my MacBook Pro might be hacked. The reason I found out about the stackoverflow.com website is because I did a netstat search in Terminal. My browser was closed but nevertheless it showed this: ...
3
votes
2answers
3k views

How to interpret the output of netstat -o / netstat --timers

netstat -o includes some timer information in the output but I haven't found an explanation of the output in the Timer column anywhere. Can anybody explain this or point to an explanation? This ist ...
2
votes
1answer
2k views

Netstat -a command : Difference between 0.0.0.0 and 127.0.0.1

When running netstat -a on my local machine, i see ports on the 0.0.0.0 address listening. I would assume that 0.0.0.0 is my local machine, except that i also see 127.0.0.1 listening to specific ...
2
votes
1answer
1k views

My Mac OS X 10.5 netstat reveals a lot of open UDP connections

here are my netstat results (besides server-less connections): Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 ...
1
vote
1answer
1k views

How do I understand netstat output?

Recently in wondering about my slower-than-usual internet connection, I learned that you can run the netstat command line in the command prompt. However, when I use this it tends to show things ...
1
vote
1answer
832 views

What does netstat mean by “acknowledgments not containing data received”?

Netstat reports some TCP packets in the following category acknowledgments not containing data received. However, I'm not clear what this phrase means. Goggling and the netstat documentation don't ...
0
votes
2answers
3k views

How to find who is connected to my computer from MAC address?

When I type in the command netstat -an into cmd, I get information that one of my ports is opened from some MAC address. My qestion is how to close that port and how to find from the MAC address what ...
23
votes
12answers
43k 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
178 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
402 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
323 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
12k 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
171 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
260 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
390 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 ...