Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Open ports and external IP from MS servers

Posted on 2012-03-13
5
Medium Priority
?
274 Views
Last Modified: 2012-08-13
If all your servers in your DMZ run Microsoft OS, is there anyway an admin can retreive the servers internal AND external IP address directly from the server or would they need to get this from elsewhere?

And also can you see which ports are open to the Internet from on the server itself? And can these be mapped to a running service?

Or where else would this information be found?
0
Comment
Question by:pma111
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 42

Accepted Solution

by:
kevinhsieh earned 2000 total points
ID: 37717785
To get the local IP address(es), you can run "ipconfig" from the command prompt. To see your public IP and to see which ports are open, go to http://grc.com and under Services, go to ShieldsUP! which will allow you to scan your system.

To map to a service, take the list of the open ports to the Internet, and compare them with the output of "netstat -n -b -a" from an elevated command prompt on the server. The netstat will show you every open port on the server. Unfortunately, many services map back to svchost.exe, which makes it harder to determine exactly what is listening there. Anything that shows up on your port scan should be a well known service that you've opened up through your firewalls, so you should know what service is listening by the port number.
0
 
LVL 3

Author Comment

by:pma111
ID: 37719154
Can the process ID be mapped to that you find in task manager > processes?

Is there any command to dump that task manager processes tab via a command prompt command?
0
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 37719549
if you do netstat -o, the PID of the process is included. tasklist will output the running processes, including PID.
0
 
LVL 3

Author Comment

by:pma111
ID: 37720827
Is there anyway to get processes list from task manager out into in a txt document via a command or similar if theres loads running, or is screenshots the only way?
0
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 37721043
tasklist shows the same information as task manager. To get the output from any command line program to a .txt file, append ' > filename.txt' to create/overwrite to filename.txt. ' >> filename.txt' will append the output to filename.txt while preserving the existing contents of the file.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question