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
2answers
174 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
302 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
344 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
268 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
32 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?
1
vote
1answer
770 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
52 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
902 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 ...
0
votes
1answer
126 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
146 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 ...
0
votes
1answer
468 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 *.* ...
0
votes
1answer
770 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 ...
2
votes
0answers
487 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
0answers
48 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
127 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 ...
1
vote
0answers
350 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
8 views

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

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
0answers
14 views

View IP connections on Windows originating from VM or Connection Sharing (like netstat-nat)

IP Connections from Windows Internet Connection Sharing (ICS) or Virtual Machine bridged connections do not show up in tools like sysInternals tcpview/procexp, although traffic can be seen (by ...
0
votes
0answers
16 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 ...
0
votes
0answers
84 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
215 views

How to find which port a service is using by “grep” the result of netstat output on windows 7?

i want to find which port a service is using. i know i can use netstat -anb to show all the protocols and all applications. but how can i filter the result, eg. if the program i'm trying to ...
0
votes
0answers
62 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
92 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
424 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 ...