How to Obtain Port, Protocol and Service being used.

Hello Experts,

Can someone let me know how to obtain the Port, Service and Protocol being used on our Windows Servers 2012 and Windows Professional, please

cpatte7372
LVL 1
Member_2_7966113Asked:
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.

JohnBusiness Consultant (Owner)Commented:
The Protocol being used is part of the Network Card Properties. Normally TCP/IP.  

The Ports used will vary on application. No one port. HTTP normally uses port 80, FTP port 22, 23 and so on.

What do you mean by Service?   Many services are always running in Windows.

You can get lots of information with ipconfig or ipconfig /all.   That gives you network properties too.

Here is a brief tutorial:  https://www.digitalcitizen.life/command-prompt-advanced-networking-commands
Patrick BogersDatacenter platform engineer LindowsCommented:
Hi,

Tricky question, if you would like to see what is happening over the ethernet you could enter below in a dos prompt:

Netstat -ano

If you want to see the active threads use:

Netstat -ano | findstr "ESTABLISHED"

It will show you the protocol, who initiates a call to where and what its process id is. The PID you can find in taskmanager (add column PID)

This will hopefully bring you some info you need.

Cheers.

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
Robert LemMrCommented:
If I understand you question well, you want to find what protocol, port for each running service. I would use Process Explorer and view the Properties of each service. There is quite some documentation on the net on how to use Process Explorer. You can also use TCPView (also from www.sysinternal.com).
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 OS

From novice to tech pro — start learning today.