Skip to content

Omid's Notes Posts

Public IP using Command Line

To find out your Public IP on the internet using command line in Windows or Linux, you can use this command:

curl ifconfig.co/json

It shows all information related to your Public IP.

For solving PowerShell error on curl:

Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Internet Explorer\Main" -Name "DisableFirstRunCustomize" -Value 2
Leave a Comment