Skip to main content

Questions tagged [netstat]

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 Transmission Control Protocol (TCP) and User Datagram Protocol (UDP).

61 votes
7 answers
298k 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 ...
Royi Namir's user avatar
  • 5,788
55 votes
17 answers
136k 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 ...
Srekel's user avatar
  • 671
50 votes
6 answers
55k 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 0.0....
Pradipta's user avatar
  • 601
30 votes
8 answers
137k 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 with ...
timpone's user avatar
  • 853
27 votes
2 answers
38k 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 ...
studgeek's user avatar
  • 2,435
26 votes
3 answers
45k 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 ...
sme's user avatar
  • 363
26 votes
4 answers
156k 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 ...
Johnydep's user avatar
  • 1,105
23 votes
4 answers
12k views

Do 0.0.0.0:0 and *:* represent the same thing?

I used netstat (in Windows) to view the listened ports for TCP and UDP: I noticed that in the Foreign Address column, UDP displays *:* instead of 0.0.0.0:0, do these two values represent the same ...
user612473's user avatar
19 votes
2 answers
31k views

Why UDP does not show LISTENING in the state column in netstat?

TCP shows LISTENING in the state column while UDP does not show anything: Is it because UDP has only one state (which is LISTENING) so there is no need to show it, or is there another reason?
user613132's user avatar
18 votes
3 answers
25k views

`netstat` command in WSL return empty list

I install python and start python -m SimpleHTTPServer in windows WSL. But the command netstat -an return an empty list. And of course i can't visit the url http://127.0.0.1:8000 in windows browser. ...
WalleZhang's user avatar
17 votes
3 answers
106k 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?
user avatar
12 votes
2 answers
29k 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 ...
Matt C's user avatar
  • 123
11 votes
2 answers
10k views

What is the difference between :::: and 0.0.0.0 from the netstat -an output?

I just want to understand the difference between :::: and 0.0.0.0. I believe both are same which let connection from outside if any processor is listening to that port. udp 0 0 127.0.0.1:...
user1595858's user avatar
10 votes
1 answer
4k views

Port 9001 used by Microsoft-HTTPAPI/2.0

The port 9001 seems to be used by Microsoft-HTTPAPI/2.0. I get this from the browser doing a http://localhost:9001/ HTTP/1.1 404 Not Found Content-Type: text/html; charset=us-ascii Server: Microsoft-...
Stéphane Gerber's user avatar
9 votes
2 answers
21k views

What is the difference between nmap and netstat?

I am trying to learn a little about networking and I was hoping to get some help. Does anyone know the difference between nmap and netstat? I kind of know how to use them and how to check ports but ...
mt9's user avatar
  • 101

15 30 50 per page
1
2 3 4 5
15