c:\>netstat -n
You can also use these switches
netstat -a (display all active TCp connections and their ports)
netstat -e (displays ethernet stats)
netstat -n (displays active TCP connections)
netstat -s (displays statistics by protocol)
netstat -p protocol (shows connections for the protocol specified eg tcp, udp, tcpv6 or udpv6)
netstat -r (displays contents of the IP routing table)
The color command is followed by 2 hexadecimals, i think the first is text color and the 2nd is background color (or vice versa)
//another method
All you have to do is:
- open notepad
- copy the following lines
@echo
@color 09
@netstat -n
@echo.
@pause
- save as getip.cmd
- move it to the desktop (or anywhere that catches your fancy)
- double-click on it to see the current TCP connections made to your PC!
You can also use these switches
netstat -a (display all active TCp connections and their ports)
netstat -e (displays ethernet stats)
netstat -n (displays active TCP connections)
netstat -s (displays statistics by protocol)
netstat -p protocol (shows connections for the protocol specified eg tcp, udp, tcpv6 or udpv6)
netstat -r (displays contents of the IP routing table)
The color command is followed by 2 hexadecimals, i think the first is text color and the 2nd is background color (or vice versa)
//another method
All you have to do is:
- open notepad
- copy the following lines
@echo
@color 09
@netstat -n
@echo.
@pause
- save as getip.cmd
- move it to the desktop (or anywhere that catches your fancy)
- double-click on it to see the current TCP connections made to your PC!
Comments