Skip to main content

All Questions

Tagged with
1 vote
1 answer
353 views

How can I add a timestamp to a monitored command (like "netstat") in Windows commandline?

Using netstat -aon | findstr /I "1234", I can monitor that this port is open, but there is an issue: this is what the result looks like: UDP 0.0.0.0:1234 *:* 5064 UDP 0.0.0.0:...
Dominique's user avatar
  • 2,283
1 vote
1 answer
130 views

Incompatible command arguments for netstat?

The command netstat -ano 192.168.1.1 works, whereas adding the -p flag, i.e.netstat -anop 192.168.1.1just displays the command-line parameters with descriptions like if you'd just typed netstat ...
Math1000's user avatar
  • 185
1 vote
1 answer
726 views

Command Prompt netstat response

I was trying to check if any VNC is turned on so I tried netstat -an | find "ESTABLISHED" | find ":5900" and netstat -an | find "ESTABLISHED" | find ":5800" I got some feedback TCP 127.0.0.1:...
Han Angeline's user avatar
2 votes
1 answer
25k views

Windows equivalent to nmap

This answer suggests netstat as an equivalent to nmap and also states that nmap for windows does not work. But I use nmap for an specific purpose and that is to see if a port of a network is open or ...
Shayan's user avatar
  • 1,604
0 votes
2 answers
1k views

What is happening at each row of this netstat-nr command?

I have a problem that I do not understand. How do I evaluate what is happening in each row and which row matches a destination address of 183.77.42.58 and why? What is happening at each row of this ...
imora's user avatar
  • 3
3 votes
1 answer
4k views

Windows CMD netstat output in one line

Netstat output breaks line when -aonb options are used. I can't use FIND to filter the output in one line. Increasing Screen buffer width and Window width doesn't help. The command still breaks into ...
user's user avatar
  • 41
0 votes
1 answer
1k views

Netstat showing open established connection but I can't end the process

So I've been curious as to know why I have these open established ipv6 connections. I typed in the command prompt Netstat -ano to get the connections, PID numbers, and port numbers. The connections ...
Ezekielthewatchman's user avatar
3 votes
2 answers
9k 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 "...
Mark's user avatar
  • 31
1 vote
1 answer
81 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?
dana.ba's user avatar
  • 43
2 votes
3 answers
78k 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 ...
WIFI WIFE WONDERS's user avatar
1 vote
2 answers
58k views

Redirect the output of netstat to a file?

I'm trying to redirect the output of netstat to a file and it doesn't work. Initially I tried: runas /noprofile /user:xxxxx\administrator "netstat -a -b > C:\temp\file.txt" Then I read ...
leeand00's user avatar
  • 22.7k