How to Know IP in CMD?

Open Command Prompt

Type `ipconfig`

Press Enter

Find `IPv4 Address` for your local IP

Find `Default Gateway` if needed

Type `ipconfig /all` for full network details

Type `nslookup myip.opendns.com resolver1.opendns.com` to check public IP

Type `curl ifconfig.me` if `curl` is available

Type `wget -qO- ifconfig.me` if `wget` is available

Suggested for You

Trending Today