Check List Exposed Ports on Windows Server



to know how exposed your ports on windows server, type this command.

Open PowerShell.

$ Get-NetTCPConnection -State Listen,Established

or

Open CMD run as administrator

$ netstat -bano | find "LISTENING"


Source :

https://stackoverflow.com/questions/69991363/this-request-requires-elevation

https://stackoverflow.com/questions/1438141/how-to-get-list-of-port-which-are-in-use-on-the-server

Comments