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
Solved

Windows XP : how to check which port has been opened for a particular PC?

Posted on 2009-05-10
8
805 Views
Last Modified: 2012-05-06
Hi,

Since I just relocated to another office and hence the IP address of my PC need to change to another one due to network setting issues.  Yet, after I used the new IP address, I found that I can not access to my applications due to port not open.

In our company, the default is block all ports while when necessary, we need to apply for port opening for a particular application/access.  And we have quite a lot of firewalls as well (around one firewall per switch).  Since it is nearly impossible for our firewall admin to look at each firewall and sort out from each of it and find out whether I have opened which port for which server.

Therefore, I would like to ask whether there is a tool or way to sort it out for me and transfer all opened ports in my old IP address to the new one.  I can ask my colleague to setup a PC which using my old IP address in the old office but it is impossible to ask them to open all applications that need to open firewall port and validate the connections.

Kindly please help.

Cheers
Stanley
0
Comment
Question by:StanleyLMW
8 Comments
 
LVL 3

Expert Comment

by:technious
ID: 24351259
I need more information. Do you know what ports you need opened? Do you know what ports were open on your old computer? An IT staff should know their firewalls, and how to open ports, are you sure they are not blowing you off? What firewall are you talking about, the network firewall, or a software firewall on your computer? Please provide more information about the infrastructure of  your problem.
0
 
LVL 3

Expert Comment

by:scottyvanman
ID: 24351275
Hi Stanley, You will not be able to transfer your old port settings to your new location unless the routers are identical, but you can run a tool that will tell you which ports your programs are trying to use. Open the program you want to see the ports for.

Open a command prompt by going to Start, Run, and typing cmd then hit ok.
When the black window opens, type in netstat -a and then hit enter.

This will list all the Ip's and port numbers that are in use. You should be able
to tell which ip your program is trying to get to, and which port it is using to get out of the gateway.

If you need somthing even more descriptive, you can use TCPview http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx
I hope this helps

-Scott E
0
 

Author Comment

by:StanleyLMW
ID: 24351532
Hi Technious,
For sure I have no complete pictures on what ports had been opened for my old computer or I just use the list and just re-apply for port opening will do.  I'm not sure whether our network firewall admin (not software firewall) do blow me off or not but they just told me that it is quite impossible for him to scan through all network firewalls for the existence of my old IP address.
Hi Scottyvanman,
Thanks for your suggestion, I have just test it but seems that it only report the port opened while the application/connection are in use but not for connections other than that.  Though it contains an option of showing all those unconnected endpoints but still can not show some connections that I know that it should have the port already been opened. (e.g.  I can get access to a remote server by mapping a share drive of it, but now it can not be, sure related to firewall issue but even I use the tool, it still can not show an entry with the IP address of the remote server that I had just mentioned).  Is it mean that it is impossible to do that ?
Cheers
Stanley
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 3

Expert Comment

by:scottyvanman
ID: 24351588
it should be showing you the IP address that you are trying to get to, but I was of the inderstandng that you were trying to get the port numbers. What is it you are after here?
0
 
LVL 7

Expert Comment

by:MariusSunchaser
ID: 24352419
Hi Stanley,

I'd suggest you to take this approach:
1. Identify exactelly what applications you need to use (Accounting software, internet file sharing, messanger software, etc) and take it one step at the time.
2. Take applications one by one, and check the error you get when trying to access it. It might be other issues than the firewall.
3. Check the documentation for your applications to see what ports it needs. For example, if you are using some accounting software that needs access to outside servers, read the documentation and/or contact their technical support to find out needed ports.
4. Ask the firewall admin to grant you access to those ports, and test each step carefully.

By doing wild guesses you will only loose time and have no result.
0
 
LVL 10

Accepted Solution

by:
Kechka earned 250 total points
ID: 24352699
Try port scanner from http://www.radmin.com/products/utilities/index.php to find out all open ports on computer.
0
 
LVL 7

Assisted Solution

by:sfarazmand
sfarazmand earned 250 total points
ID: 24357063
You will need to find out what Firewall your old IP was attached to. Once there those settings can be easily found, then they can be recreated or transferred to the firewall managing your current location.

You can use Active Ports (http://download.cnet.com/Active-Ports/3000-2651_4-29653.html?tag=mncol)or CurrPorts (http://www.nirsoft.net/utils/cports.html) to check what ports are open, and what apps are using them.  I would download one and run the app then check what port it's using. Additionally, some apps use different ports for the different tasks they perform. So the easiest way to be sure you have all the settings is by finding the exceptions on the firewall.
0
 
LVL 3

Expert Comment

by:technious
ID: 24359468
I am still having trouble understanding what you are looking for. Do you need the applications to communicate with the internet, or do you need the internet to communicate with your applications. It is difficult to say what ports your old IP have opened unless you have access to that Computer and it still has the same IP. I am with MariusSunchaser on this, you need to figure out what applications you need and in what way they need to communicate with the Internet, and then make the requests with the administrator.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

792 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