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
238 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
358 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
438 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
271 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
162 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
23 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
875 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
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
962 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
129 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
183 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
488 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
855 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
584 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
21 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
42 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 ...
1
vote
0answers
63 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
154 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
380 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
54 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
47 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 ...
0
votes
0answers
22 views

Established connection on VPS not appearing in tcpdump

I'm running the kippo honeypot on port 22 with my actual ssh on port 2999. netstat Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 ...
0
votes
0answers
20 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
124 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
537 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
64 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
109 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
469 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 ...