Discover what port an app is using

Matthew Bechtol 491 Reputation points
2023-03-28T16:53:07.5466667+00:00

I discovered the firewalls on the servers at a new job are turned off. It appears the previous IT person couldn't figure out what port an essential program used so he just disabled the firewall. looking at the documentation for the app it gives a range of possible ports the app might use. how can I determine the port the app is actually using?

Windows for business Windows Server User experience Other
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2023-03-28T17:07:07.8866667+00:00

    You can do a

    netstat -aon
    

    then use Task Manager\Processes tab to lookup the PID to link up the process executable name to the port that's listening.

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.