How do you know which application is occupying a port in win8

Hi one software is occupying 127.0.0.1 port2002 in my PC (Win8). how can I know which one it is? Thank you
eemoonAsked:
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.

kenfcampCommented:
You'll need to open a Command Prompt in administrator mode. Hit Start, and then type “command” into the search box. When you see “Command Prompt” appear in the results, right-click it and choose “Run as administrator.”

At the command prompt type
netstat -ab

Open in new window

and press enter

This will give you the what port is open, what application is using it, and if the port has an active connection

Ken
Dr. KlahnPrincipal Software EngineerCommented:
Download a copy of Microsoft TCP View.  It'll provide that information.

https://docs.microsoft.com/en-us/sysinternals/downloads/tcpview

TCP View
kenfcampCommented:
Alternately, if you prefer an interface you can try Currports
http://www.nirsoft.net/utils/cports.html
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

eemoonAuthor Commented:
Thank you for your fast reply.
i am not sure if it is port block issue. Initially it showed the port was occupied. but now it change a little. Please see picture attached. the application is gns3, when i want to start its console, i got the error message. and it do not show 127.0.0.1 port 2002 when using netstat -ab
Capture.PNG
kenfcampCommented:
That's because the port isn't currently open

Are you trying to connect to it?

all you need is to is type
netstat -ab

Open in new window

nothing else.

It will list open ports and the program(s) using it
eemoonAuthor Commented:
That's because the port isn't currently open

Are you trying to connect to it?

Yes, i am trying to open and connect it. how to open it?
kenfcampCommented:
That would depend on what the process is. In most cases you can't and generally don't need to
eemoonAuthor Commented:
that means in this case, it is not port issue, right?
kenfcampCommented:
that means in this case, it is not port issue, right?

If you're referring to your error, correct.  The refusal would be normal

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
eemoonAuthor Commented:
Thanks
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
Windows 8

From novice to tech pro — start learning today.