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

Find port of software

I have a piece of software that is going out to a server looking for licensing.  While this is fine and dandy, the manufacturer of the software has basically disappered, but the software still works, providing I allow my firewall to have ALL ports open.  Thus, I am looking for a monitoring device or piece of software to simply run and tell me when the software is being used, what port number is being called.  I have tried some MS tools like NetStat with no help.
6 Solutions

You might have to install wincap with it the instructions are on the site. I would suggest shutting everything down and starting the software you need to find the port of.

Also you might want to try a firewall software like blackice, turn on your software and it will tell you program XXX is trying to access the internet and look at the details of what port it is trying to use.

Winternals has a utility that will show open endpoints of software, and it doesn't require any special drivers.
May I suggest Active Ports?

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Steve KnightIT ConsultancyCommented:
netstat -an from a command prompt does tell you what is going on at the moment.  Ethereal is great stuff and armed with a packet trace you can see exactly goes on between the devices, or you can use Network monitor or install a personal firewall such as Zone Alarms or Tiny firewall.

Steve KnightIT ConsultancyCommented:
If you have XP try netstat -anbv and look for the PID of your application (see task manager) and it will also show you the modules which are using the ports...
Umm does your firewall log all traffic that it denies?  If so check out the log.  Otherwise a packet capture utility like Ethereal, or its replacement Wireshark (http://www.wireshark.org) running on the computer that is running the software.
Rob WilliamsCommented:
To elaborate on netstat, using    netstat  -b     at a command line with return a list of TCP connections and their state.
Run the application with the firewall disabled. Then run   netstat  -b   look for "ESTABLISHED" connections. On the line below it will show the application such as [Outlook.exe] that has the connection. You can then look under Local Address and Foreign address for that connection and the connected local and foreign ports will be displayed as
 Computername : port #
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.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now