Open Ports | Zero Trust
How to check if ports are open to a remote server
Use PowerShell to see if ports are open to a remote server.
Living in a zero trust environment can be challenging. Here is some code that I have been using to test for open ports from a Windows server to any type of destination. Just change PortNumber and Destination for your use case.
If you work with VMware vRealize Suite of appliances here are some commands (curl and Netcat) that can be used with Linux OS to test if ports are open to destination servers.
Article Updated: 2021-04-24