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
3answers
164 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
2answers
207 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 "...
1
vote
2answers
445 views

Batch Capture incoming Netstat IPs as variable

I'm trying to figure out if there is a way I can capture (and if possible, log) the ip addresses displayed from 'netstat' command. I'm trying to make a script that waits for a ping from a specific ...
1
vote
2answers
511 views

Netstat doesn't work on FreeBSD by php function exec()

In my php-app I need list of all ip connected on 80 port. i've chose this way: <?php $ips = exec("netstat -an |grep 'tcp\|udp' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c", $info); ?>...
0
votes
2answers
907 views

Send HTTP request from server to another server and get the IP that replies

so I have to do this project, and I honestly have NO idea where to start. So basically, it will send a simple GET request to a web server, and then wait for a reply, and it will print out the IP that ...
0
votes
2answers
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 ...
0
votes
2answers
282 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
1answer
847 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
44 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?
1
vote
1answer
1k 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
1answer
45 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
1answer
55 views

How to know particular port status in osx

How can I find particular port status in osx? I think with netstat, I can do it. But even I read man netstat. I could not understand how to do it.
0
votes
1answer
1k views

netstat shows open port with pid for process that doesn't exist?

We have a program that listens on a port to receive info on running a report. Upon closing and reopening the program, we get an error saying that the port it uses is already in use. Looking at netstat,...
0
votes
1answer
134 views

Averaging dstat output

I need to average upload and download speed using dstat -n. How can I add all the received and sent datas that appear after dstat -n , so that I can add them and find average upload and download speed ...
0
votes
1answer
524 views

How can I unbind a UDP port that has no entry in lsof?

On my Mac, I have a UDP port that is "already in use", but doesn't have an associated process: sudo netstat -na | grep "udp.*\.500\>" shows udp4 0 0 192.168.50.181.500 *.* ...
2
votes
0answers
60 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 ...
2
votes
0answers
129 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 ...
2
votes
0answers
908 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 0....
1
vote
0answers
229 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 ...
1
vote
0answers
35 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 sent/...
1
vote
0answers
87 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
0answers
112 views

Query an office gateway/router to confirm all routes?

Is it possible to send a 'query' of some sort to a gateway device in an office to see what subnets I have access to? For example, I know that I have access to multiple subnets because we have many ...
1
vote
0answers
208 views

netstat multiple local addresses - connections from other PC in LAN to Internet

Running netstat on my Ubuntu 12.04 in a LAN reveals entries like this: Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 other-pc-in-lan-hostname.lo:...
1
vote
0answers
469 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 ...
0
votes
0answers
6 views

What this netstat -t output mean?

I ran netstat -t on my Ubuntu 14.04LTS and found following output: At that time, only Firefox was running with following add-ons: And I found following output showing way more servers. Is this ...
0
votes
0answers
32 views

Suspicious Active Internet connection in Netstat

I recently discovered the tool netstat on my Macbook Pro terminal and there are a lot of these connections that seem to be allowing any ip and any port to connect to my machine. Is this a sign of ...
0
votes
0answers
22 views

Entries in my Mac OSX routing table

I undestand basics of IPv4 and subneting but I could not find a definite answer of what some of these entries in my routing table mean: netstat -nr Destination Gateway Flags ...
0
votes
0answers
16 views

SABNZB+ connects to Google

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME sabnzbdpl 29850 sabnzbd 5u IPv6 190586 0t0 UDP *:50895->par03s14-in-x0e.1e100.net:http sabnzbdpl 31115 sabnzbd 5u IPv6 ...
0
votes
0answers
1k views

Multiple connections to Plex dlna port 32469

Sorry if this is not in the correct forum. I have Plex server installed on a Raspberry PI running Raspbian with Open Media Vault. Everything works well. The only issue I have is that I get lots of ...
0
votes
0answers
15 views

Unable to pipe netstat output to a text file if i use -naob on 2008x86

Windows Server 2008 x86 only, this issue doesn't happen on Server 2012 R2 If i use netstat -nao > netstat.txt it works fine If i use netstat -naob > netstat.txt Error x: Windows Sockets ...
0
votes
0answers
23 views

How to debug Linux server connection silence

[EDIT] After I restarted for the 6th time it finally worked. I have no clue why, but hey, I can proceed again. [/EDIT] I'm developing a website using the Python Flask framework. Flask comes with a ...
0
votes
0answers
64 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
34 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
16 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.
0
votes
0answers
118 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
0answers
199 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.
0
votes
0answers
32 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
69 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 ...
0
votes
0answers
50 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
0answers
191 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 ...
0
votes
0answers
443 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
0answers
534 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:...
0
votes
0answers
261 views

netstat returns a huge amount of connections

I am having connection problem with my internet connection, it drops really frequently and it is almost impossible to connect to my phone for debugging apps using both wired and wireless connections. ...
0
votes
0answers
73 views

What does the routing table entry 129.0&0x8500 mean?

While attempting to diagnose some network problems, I looked at the routing table on my computer (Mac OS 10.9): healslime> netstat -rn Routing tables Internet: Destination Gateway ...
0
votes
0answers
133 views

Closing active internet connections

I contracted 12 MB/s connection, but I'm only getting about 3 MB/s on one of my computers. My other computer is running smoothly on 13 MB/s. My ISP says that I have open connections that are dragging ...
0
votes
0answers
575 views

ping and tracert don't work, while netstat does on windows pc

I am relatively new here and I don't even know if I'm asking the qn in the correct site. Please bear with me if I'm wrong. In my command line netstat works, but ping and tracert don't. I don't get ...