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
LVL 1
nathanmxAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Pete LongTechnical ConsultantCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.