1.

Solve : ip adresses??

Answer»

I was just wondering what to type in command PROMPT to find out when someone is connected to me...to get there ip adresses?Well, netstat.exe run from the command prompt will show you what open connections you have, and the machine names or IPs associated.  If you only get a machine name you can TRY tracert to determine the IP.



Example

netstat.exe

Active Connections

 Proto  Local Address          Foreign Address        State
 TCP    COMPUTER:1698       www.ceruleanstudios.com:http  CLOSE_WAIT
 TCP    COMPUTER:1893       169.169.8.133:5190     ESTABLISHED
 TCP    COMPUTER:1894       169.169.29.221:5190      ESTABLISHED
 netstat /?

Displays protocol statistics and current TCP/IP network connections.

NETSTAT [-a] [-e] [-n] [-o] [-s] [-p proto] [-r] [interval]

 -a            Displays all connections and listening ports.
 -e            Displays Ethernet statistics. This MAY be combined with the -s
               option.
 -n            Displays addresses and port numbers in numerical form.
 -o            Displays the owning process ID associated with each CONNECTION.
 -p proto      Shows connections for the protocol specified by proto; proto
               may be any of: TCP, UDP, TCPv6, or UDPv6.  If used with the -s
               option to display per-protocol statistics, proto may be any of:
               IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6.
 -r            Displays the routing table.
 -s            Displays per-protocol statistics.  By default, statistics are
               shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6;
               the -p option may be used to specify a subset of the default.
 interval      Redisplays selected statistics, pausing interval seconds
               between each display.  Press CTRL+C to stop redisplaying
               statistics.  If omitted, netstat will print the current
               configuration information once.

Hope this helps.



Discussion

No Comment Found