How can I check my internet IP With CMD
To check your public IP address using Command Prompt (CMD) on Windows, you can use the following methods:
### **1. Using `nslookup` Command:**
1. **Open Command Prompt:**
- Press `Win + S`, type `cmd`, and press `Enter`.
2. **Run the Command:**
- Type the following command and press `Enter`:
```cmd
nslookup myip.opendns.com resolver1.opendns.com
```
3. **Find Your IP Address:**
- Look for the "Address" field in the output, which will show your public IP address.
### **2. Using `curl` Command (Windows 10 or later):**
1. **Open Command Prompt:**
- Press `Win + S`, type `cmd`, and press `Enter`.
2. **Run the Command:**
- Type the following command and press `Enter`:
```cmd
curl ifconfig.me
```
3. **Find Your IP Address:**
- The output will display your public IP address.
### **3. Using `PowerShell` Command:**
1. **Open PowerShell:**
- Press `Win + S`, type `powershell`, and press `Enter`.
2. **Run the Command:**
- Type the following command and press `Enter`:
```powershell
Invoke-RestMethod -Uri http://ifconfig.me/ip
```
3. **Find Your IP Address:**
- The output will show your public IP address.
### **Additional Method - Web Browser Check:**
If you prefer, you can also check your public IP address by visiting a website like [WhatIsMyIP.com](https://www.whatismyip.com) or [IPinfo.io](https://ipinfo.io) in your web browser.
These methods will help you quickly find your public IP address using Command Prompt or PowerShell.