As part of troubleshooting, it is required to check if a port on a remote server is open and the connection is possible. This can be done by using Windows Powershell cmdlet called Test-NetworkConnection

tnc google.com -port 80

Ref: https://learn.microsoft.com/en-us/powershell/module/nettcpip/test-netconnection?view=windowsserver2022-ps