• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 852
  • Last Modified:

How to find the IPs of servers I am connected to

I want to know how I can find the IPs of servers I am connected to, such as when playing an MMO game. Is there a program or simple way to find the IP information or is this not possible?

Thanks ahead of time,
nathan
0
nathanmx
Asked:
nathanmx
  • 2
  • 2
  • 2
  • +4
1 Solution
 
Pete LongConsultantCommented:
start >run >cmd {enter}

arp -a {enter}
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
You can use NETSTAT command.  It will give some names, some IPs.  You can then "ping" any name (excluding the :### part) and get the IP.  
0
 
TJworldCommented:
TCP View from SysInterals is great for monitoring active connectons. I use it on servers to monitor who is connecting to what processes/services.

http://www.sysinternals.com/ntw2k/source/tcpview.shtml
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
muhalokCommented:
1. "arp -a" will work only in LAN environment (in case you need IPs of Internet servers - won't help you), since arp is a LAN protocol.

2. "netstat -a -p TCP" command will show you active TCP connections - which is relevant for the Internet servers.
or
"netstat -an -p TCP" (-n switch doesn't resolve the names of the ports , such as "http","telnet", etc.) - works faster. You need to find out the number of the port the game is using.

NOTE: The IP of the host in active connection, probably won't do you any good, since most servers work in clusters, meaning they are sitting on a private network behind a firewall/load balancer and you will see only this firewall/loadbalancer public IP.

Nevertheless - netstat command is your thing.

Good Luck.
0
 
jabiiiCommented:
muhalok, is right the command you are looking for to use is "netstat -an" (after you are at a command prompt) this will tell you not only the ports your computer is listening on but also those that are established.

Another way is to get a network sniffer either ethreal, or windump either work great. both will give you alot of information about your network traffic. but more than you will need just for an ip/port.

The easiest solution thought would be to close all apps, run netstat, open your MMO and connect, open a new command prompt and run netstat again and compare and find your "target"


Choices: Sniffer or netstat

suggestion: cmd <CR> netstat -an <CR>
0
 
jabiiiCommented:
alternativly if you know the dns name... ie (www.experts-exchange.com) you can either browse the internet to such great sites as http://www.dnsstuff.com/ which can give you alot of information.......

or just go to a command prompt and type nslookup http://www.dnsstuff.com/ and it will return an ip or ip's of that dns name.
0
 
nathanmxAuthor Commented:
Ok I'm trying everything you all suggested, be right back with results... thanks so much everyone...
0
 
benstoreyCommented:
tracert

try this as well
tracert www.google.com, and watch as your comp comes up with ip's of where your comp is going through..
0
 
nathanmxAuthor Commented:
Though netstats helped with most of the connections, it didn't help with my MMO, as you guessed.  TCP View worked very well though. Thanks for everyone's help! ;)
0
 
muhalokCommented:
What? TCPView is just a nice gui for netstat and it just updates it automatically.
But if it worked for you - y not.
0
 
TJworldCommented:
Yes thats what I like about it, I can leave it running and see moment by moment connections coming and going. Its very useful in getting a feel for the patterns of behaviour and helps spot the abnormalities.
0

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

  • 2
  • 2
  • 2
  • +4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now