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

0
votes
0answers
20 views

How to simulate TCP simultaneous open and close conditions?

I am learning TCP/IP protocol. I want to see simultaneous open, close, half open/close, etc conditions in practice. I have created simple TCP server and client program. How can I simulate simultaneous ...
0
votes
0answers
17 views

Why don't ALL Active Connection PID's show up in Task Manager INCLUDING those shown when using the “netstat -ano” command?

I am using Windows 7, but this may be the same in other versions of windows. Why don't ALL Active Connection PID's show up in Task Manager INCLUDING those shown when using the 'netstat -ano' command? ...
0
votes
0answers
10 views

How do I find out to what hostname a potential malware wants to connect?

Without connecting my computer to Internet. I can only think about netstat and packet capturing tools, but I dont really know which method is suitable.
9
votes
3answers
8k 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 ...
0
votes
1answer
53 views

Disable default VPN ports on windows 500 and 4500

How do I disable the default listening VPN ports on windows machine? When I type netstat -an | findstr "500" command on the windows command prompt I get to see default 500 and 4500 ports listening ...
0
votes
3answers
57 views

Netstat -an in Command Line

In the below picture, as you see When I write netstat -an inside the command line I got this answer in the picture. The last line is different than others. Sometimes, I query netstat -an command ...
2
votes
1answer
398 views

OSX Yosemite - How to add route having two default gateways

I'm on OSX Yosemite and I have two different active connections... - WIFI (en0) - Tethering USB (en7) SnakeBook:~ root# netstat -nr Routing tables Internet: Destination Gateway ...
2
votes
0answers
23 views

How to monitor the unix socket statistics in OSX per-seconds

I can monitor a net-device in the OSX, like below $ netstat -I eth0 -b 1 1000 input (Total) output packets errs bytes packets errs bytes colls ...
0
votes
0answers
39 views

Ipaddress does not show up on netstat

Why would a ipaddress not show up in foreign address when I do netstat -atp tcp? Here is a list of my foreign address that are not showing up. How can I find out where they are going to? Proto ...
0
votes
1answer
70 views

Port 80 used by Microsoft-HTTPAPI/2.0

The port 80 is used by Microsoft-HTTPAPI/2.0 and cannot be stopped. I have tried many solutions, but no one worked. Here is what I have done. Also, here is what is on the page : Not Found HTTP Error ...
2
votes
1answer
123 views

Linux netstat shows ipv4 mapped ipv6 address

Even after disabling ipv6 on my linux machine and restarting network services, and not having an ipv6 address assigned to an interface, one of my daemon (cassandra to be specific)is using an ipv4 ...
0
votes
1answer
1k 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
17 views

“awk” not working when using it with “watch”

In order to watch my IPv6 traffic totals I want to run this command: netstat -s -6 | grep -i octet | grep -vi cast | awk '{ print $2/(1024*1024*1024) }' combined with "watch -n1", so it gets run ...
10
votes
6answers
50k 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 ...
0
votes
0answers
120 views

Netstat VS Netstat (Gnu/Linux VS BSD/Mac OS X)

Why are there different versions of netstat for Gnu/Linux and BSD/Mac OS X? I'm trying to get the latter to respond & behave more like the former.
11
votes
5answers
5k 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 ...
1
vote
0answers
186 views

OS X DNS queries failing with a custom tun interface

I have a slightly modified version of tun/tap for OS X 10.10.5 running. The interface is brought up by a small python script which reads from /dev/tun and then forwards all requests over an adhoc ...
0
votes
1answer
1k views

Cannot connect to port 3306 on a remote MySQL server using MySQL Workbench in Mac OS X

I want to access MySQL remotely: GRANT ALL ON *.* TO thufir@'192.168.0.16' IDENTIFIED BY 'hfdks4329vjkl'; When Workbench failed to connect, I took a look with ping and telnet: Brents-MacBook:~ ...
0
votes
0answers
27 views

How to get `netstat -tpn`-like output with `ip` utility

How (or is it possible) to list all open TCP(/UDP) ports using ip utility on Linux (preferably with their owner processes)? I want something like netstat -tpn.
0
votes
0answers
38 views

A port is supposedly being listened upon but lsof does not see it

I am unable to start the datanode on my mac because some process is bound to port 50020: $netstat -an | grep 50020 tcp4 0 0 10.246.244.94.50020 17.172.232.9.5223 ESTABLISHED ...
10
votes
4answers
52k 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
1answer
32 views

SVC Host service not visible in Svchost viewer

Some port required by my application was put in TIME_WAIT status by svchost which I found by running netstat. I used this application called Svchost Viewer to track the PID corresponding to the ...
0
votes
0answers
35 views

Weblogic server port not listing in netstat

I am able to access weblogic server from a remote system in hostname:7001/console at 7001 port (as configured in weblogic). But I couldn't find a 7001 port entry in either netstat or lsof output. ...
0
votes
1answer
90 views

netstat with --inet option does not display listening tcp por

Can someone please explain why the output of the command are different? user@geeko:~> netstat -ln | grep 9876 tcp 0 0 127.0.0.1:9876 :::* LISTEN and ...
2
votes
2answers
136 views

Get *hostname* of a RDP client computer

This question: Get hostname of a RDP client computer, asked how an RDP server can identify a client (i.e., the host that is being used to login remotely), and got this answer: netstat -na | find ...
29
votes
15answers
69k 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
0answers
29 views

Per-process network usage on OSX?

I want to periodically poll for per-process network usage. Is there a way to do this efficiently in OSX like netstat -p on Linux? I know there's lsof -i -Tqsf but it doesn't seem to show bytes ...
1
vote
3answers
2k 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 ...
0
votes
1answer
109 views

Netstat returns strange looking foreign address

I am trying to understand what this foreign address means in a netstat listing: 195.sub-174-227-0.myv When I run netstat, some foreign address don't look like normal IP addresses. Are these IPv6 ...
0
votes
0answers
123 views

Tcpview and netstat are not showing any tcp connections

I know I currently have tcp connections open, but neither tcpview, or netstat can show them. Tcpview show a blank page and netstat returns an empty list. Netstat seems to handle udp connections fine. ...
0
votes
0answers
143 views

Lots of weird connections on my computer on various different ports

i have all these weird connections on my computer and i'm wondering if i should be worried? Could anyone explain where all these connections come from? Proto Recv-Q Send-Q Local Address ...
2
votes
0answers
92 views

netstat -o timer value “probe”

A bit of background on the scenario. I have a distributed application running on RH6.5 that uses JMS (OpenMQ 4.5.2) to send messages between hosts. One host (Host A) receives information from network ...
1
vote
0answers
46 views

How do I deal with processes which continuously open/close ports and increasingly consume memory?

According to file.net, nvtray.exe is some process for or from my video card. When I look at the Netstat part of XAMPP, it shows nvtray.exe continuously opening and closing ports, increment the port ...
1
vote
1answer
332 views

What exactly does this netstat output mean?

Having run netstat /b on my local machine, I am having trouble interpreting this output. To my knowledge I have only one machine on my network and it's not called fish. Active Connections Proto ...
0
votes
1answer
97 views

OS X - Static routes / non-standard default gateway for endpoints on *local subnet*

My question is: How can I reliably set up a static route in OS X, for 2 endpoints to pass via a gateway, where all machines are on the same subnet? I provide the context below: For testing ...
1
vote
3answers
34k views

Can I tell from “netstat” if someone is snooping my computer?

I have many questions. However, to begin in the easiest and shortest manner. I am trying to figure out why when I type cmd prompt netstat -a I get a plethora of IP addresses and links that I am almost ...
0
votes
0answers
275 views

What is port 1001 used by NT Kernel & System on my Windows 7?

Sometimes i make ssh tunnel which listen as sock proxy on port 1001. But lately i can't bind to this port. Apparently this port already occupied. I can bind to any port for my ssh tunnel. But I'm ...
0
votes
2answers
53 views

Windows netstat reports an “amnesia:2554” connection: what the hell is “vcnet-link-v10”?

Running netstat in Windows reports this line: TCP 192.168.1.161:59065 amnesia:2554 TIME_WAIT 192.168.1.161 it's me, but we have no “amnesia” host on the network. Looking for info ...
0
votes
0answers
364 views

How to make netstat on Linux only show OUTBOUND tcp connetions?

My Ubuntu server is infected and there is a process making a bunch of HTTP requests to a bunch of websites. I have added the following to my firewall (UFW): sudo ufw deny out proto tcp to any port ...
1
vote
3answers
297 views

Some program occupy port 80. What is it?

I am trying to run netstat and this is what I got Proto Local Address Foreign Address State TCP 127.0.0.1:5550 TOSHIBA-PC:49319 ESTABLISHED TCP ...
1
vote
1answer
53 views

netstat showing multiple responses for single listening process

Why does netstat -lntp show multiple responses as 0.0.0.0:22 & :::22 for a single sshd process? Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program ...
3
votes
1answer
4k views

Why does explorer.exe has an established connection to a microsoft server?

This seems a bit odd. Using netstat -a -b -n I've found the following: TCP 192.168.1.X:1150 157.56.124.76:443 ESTABLISHED [Explorer.EXE] It turns out that the ip 157.56.124.76 which resolves to ...
3
votes
2answers
6k views

Getting system lacked sufficient buffer space or because a queue was full

My ASP.NET and SQL Server 2012 application is running on Windows Server 2008 R2. Suddenly, my internet on server stopped working and my application start throwing, An operation on a socket could not ...
1
vote
1answer
394 views

How can I connect to MongoDB on my Mac OSX from a process on a Vagrant/Virtualbox machine?

I can't use localhost because from my virtual machine's perspective localhost is the virtual machine itself and not the underlying host that it is running on. How can I connect to the host machine ...
0
votes
1answer
267 views

What is the timeframe used, for TCPBacklogDrop value calculation in netstat [closed]

I'm interested in the value TCPBacklogDrop of the command netstat -s on linux. But I don't know which timeframe is considered, when calculating it.
0
votes
1answer
107 views

How to use Continuously (-c) with grep on netstat?

How can I use netstat -c option with grep without repeating the info? Example: sudo netstat -tapc (works fine) I want to do the same but only for the http lines: sudo netstat -tapc | grep http ...
1
vote
1answer
2k 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
653 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 ...
8
votes
1answer
10k 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 ...
1
vote
1answer
121 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 ...