Skip to content

Netstat

netstat -a

Displays list of all open network and Internet connections. To see IP addresses use -an

== netstat -p “protocol”== EG. netstat -p UDP >Shows only connections in protocol stated

netstat “command” >“location of file”

EG. netstat -a >C:LogFile.txt prints a txt file of the output

netstat -r

Check routing table

netstat -b

shows the running executable using the connection