Find out the actual public IP address
When in a corporate or home network, run the following powershell command to find out the actual public IP address your computer exposed to the Internet. Make sure all VPN are closed first.
(Invoke-WebRequest -Uri "https://ipinfo.io/ip").Content Imports System.Net Module Module1 Sub Main() Dim client As New WebClient() Dim publicIp As String = client.DownloadString("https://api.ipify.org") Console.WriteLine($"Your public IP address is: {publicIp}") End Sub End Module Alternatively, you can simply browser to address https://ipinfo.
Posted by John Liu Wednesday, January 5, 2022