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

24
votes
12answers
49k 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 ...
9
votes
4answers
2k views

What is ::: in the Local Address of netstat output?

This is the output of netstat -tulpn that I get: tcp 0 0 127.0.0.1:2208 0.0.0.0:* LISTEN 2055/hpiod tcp 0 0 127.0.0.1:631 ...
7
votes
5answers
17k views

how to use netstat to show what process is listening on a port

I'm on an OS X mountain lion laptop and have a couple of Vagrant boxes on it. I'm trying to figure out which process is listening on port 8080. My variations produce like a hundred lines but none ...
7
votes
1answer
13k 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
6
votes
2answers
32k 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 ...
4
votes
1answer
6k views

How does Mac OSX prioritize network interfaces when routing?

To give a concrete example, how does OSX choose which of these default entries from netstat -nr to route to? Destination Gateway Flags Refs Use Netif Expire 0/1 ...
4
votes
1answer
694 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 ...
4
votes
2answers
190 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?
3
votes
4answers
3k views

bind-address = ::1 # however, netstat shows 0.0.0.0:3306 LISTENING

I'm running MySQL 5.6 on 64-bit Windows 7 with IPv6 and IPv4 enabled. In my.ini: port=3306 bind-address = ::1 I was hoping to use IPv6 and restrict to the loop-back adapter. I used ::1 instead ...
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 ...
3
votes
2answers
4k 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 ...
3
votes
2answers
808 views

Continuously check netstat output for a particular program

I have a android emulator running on port 5554. I want to continuously watch the netstat output concerning emulator stuff. Right now I have to manually execute this command every time sudo netstat ...
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 ...
2
votes
3answers
1k 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: ...
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
3answers
9k views

how to use netstat on a specific port in Linux

Guys i want to know if my specific port is running a server using netstat? how do i achieve that?
2
votes
1answer
1k views

What's up with port 8080 on my OSX box?

I thought a web server process I brought up was listening on localhost:8080, and tried to connect to it, but kept getting connection reset errors. As it turns out, I was mistaken and my process was ...
2
votes
3answers
268 views

Is the same port acting as both client and server?

i find something strange in this netstat output. the output is taken using netstat -a -n -o -p TCP command on win 7. Proto Local Address Foreign Address State PID TCP ...
2
votes
2answers
135 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
1answer
56 views

Netstat speed on windows

This is more my curiosity bugging me than anything else, but when I type: `netstat -a` the results can take as long as a minute to display. It seems like I'm waiting forever. However, if I ...
2
votes
1answer
239 views

find the process which is listening on a specific port

I want to find some processes which are running on a specified port for example 80 I ran fuser 80/tcp and got nothing and then netstat -tulpn|grep "80\|PID" and got Proto Recv-Q Send-Q Local ...
2
votes
1answer
1k 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 ...
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 ...
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 ...
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 ...
2
votes
0answers
486 views

Port 53 on a Windows 7 machine is inaccessible from LAN

Installed a nice dns filter (Acrylic) on my server running Win7. Wanted all machines on the LAN to use it for name resolution. On the server NETSTAT shows Acrylic is listening on DNS port: UDP ...
1
vote
2answers
458 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 ...
1
vote
2answers
5k views

netstat with process name?

Using netstat -a -o -n I can get the list of ports and PID then I need to go to task manager and add the PID and see who is it. (pretty frustrating) I was wonder if there is a CMD command which ...
1
vote
1answer
121 views

Where are the open ports ? Am I getting an incomplete list?

As I enter the netstat command in the terminal, I get the following list. Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State ...
1
vote
2answers
471 views

What is “armtech daemon”?

I ran a netstap -p tcp on my machine (A macbook) and noticed a number of entries for something called localhost.armtechdaemo. Searching the web doesn't really give me anything useful. Does anyone ...
1
vote
1answer
157 views

Windows 8 seems to be remote controlled?

Recently I have detected that my mouse pointer moves by itself sometimes and even clicks/open random programs/files. I have no idea if this is hardware related since I am using my laptop connected to ...
1
vote
2answers
7k views

Can anyone explain this netstat -b? There are a lot of connections.

I did a netstat -b and received this list: Active Connections Proto Local Address Foreign Address State TCP 127.0.0.1:2559 www:56952 TIME_WAIT TCP ...
1
vote
1answer
314 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 ...
1
vote
2answers
351 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 ...
1
vote
1answer
234 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 ...
1
vote
1answer
36 views

What is this foreign address called cartfill in windows netstat

This is the result of netstat in my Winodws 8 CMD C:\Windows\System32>netstat Active Connections Proto Local Address Foreign Address State TCP 127.0.0.1:2311 ...
1
vote
1answer
126 views

How can I tell what this process is from netstat -AB?

I need to find out which process is running on port 8888. I have used the 'netstat -AB' command in the command prompt however it does not show me the information. It seems to have a problem reading ...
1
vote
2answers
465 views

Linux, netstat : how to display the owner of programs using ports?

I'm getting crazy with the command netstat. In the man we can read that, in the output of Active Internet Connections (TCP, UDP, raw) we should have : User : The username or the user id (UID) of ...
1
vote
1answer
207 views

need to know how many connections i have on a specific port. using netstat

need to know how many connections i have on a specific port. For example that i have 10 connection on port 80. Is it possible to do on *netsta*t or in any program ?
1
vote
1answer
752 views

What does netstat -r on OSX tell you about gateways?

I noticed the route table has a lot of entries I do not understand. The route tabel is: Internet: Destination Gateway Flags Refs Use Netif Expire default ...
1
vote
1answer
868 views

How to Get List/Reference Computers on a Domain, When My computer is Not a Part of that Domain

This is a question I posted on Stack Overflow: http://stackoverflow.com/questions/15211175/how-to-get-list-reference-computers-on-a-domain-when-my-computer-is-not-a-part I'm looking to get a list ...
1
vote
2answers
991 views

Kill UDP port that has no process?

My VPN client sometimes can't bind to the UDP port (500) it uses. It seems to leave behind a "bind" to port 500 on a previous run, even though it has quit. The port is reported as "already in ...
1
vote
1answer
2k views

Interpreting statistics from netstat -s

I'm running netstat -s on my Ubuntu box at home to get network interface statistics. There are a bunch of numbers printed out, like this: Ip: 10256 total packets received 8 with invalid ...
1
vote
1answer
4k views

Netstat Real-time TCP/IP Monitoring

Using Mac OS X's Terminal application, I want to use netstat to display a real-time, continuous listing of my internet connections. For example, with Terminal open and the proper netstat command in ...
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
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
932 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 ...
1
vote
1answer
31 views

What's the netstat command to get the process name and only for a specific port?

I'm using netstat on Windows 7, I would like to get only the process which are using the port 80 and to get also the name of the process. Not only the PID. I've found this solution to add the process ...
1
vote
1answer
19 views

Process port-protocol form PID

If I have process ID and I want to know the port and Protocol of this process is there any command in netstat or other help me?