Link to home
Start Free TrialLog in
Avatar of Zack
ZackFlag for Australia

asked on

Detecting if port is refusing/dropping new connections on Windows Server via Powershell.

Heyas,

Is there a way to detect via PowerShell a port is refusing new connections or dropping connection requests on a server?

Thank you.
Avatar of bbao
bbao
Flag of Australia image

I think you can PowerShell to check if a port is open at listening status or in closed status with no application running behind it. but i don't think you can use PS to dynamically detect or monitor if the port is refusing or dropping a specific request or packet at a moment as it beyond the capability of a scripting language.
ASKER CERTIFIED SOLUTION
Avatar of Zack
Zack
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Zack

ASKER

It's the solution that fits after 2 hrs on Google.
good to know you have found the solution and thanks for sharing it.