有時候設定一些功能時,需要查詢到主機ip,可以用下面的指令來查詢
什麼是IP?
IP 是指互聯網協議(Internet Protocol)的簡稱。IP 是互聯網上通信的基础,它負責將數據包傳輸到互聯網上的目的地。IP 協議分為 IP 版本 4 和 IP 版本 6 兩種,它們負責將數據包傳輸到互聯網上的不同網絡。IP 地址是用來定位互聯網上的網絡設備的唯一標識符,每個網絡設備都有一個唯一的 IP 地址。
它是管理數據如何通過互聯網傳輸的標準。 當您連接到互聯網時,您的設備會被分配一個唯一的 IP 地址,這是一個數字標籤,可以在網絡上識別您的設備。 這允許互聯網上的其他設備向您的設備發送數據和從您的設備接收數據。
IP地址有兩種主要類型:IPv4和IPv6。 IPv4 地址是 32 位數字,通常寫成四個用句點分隔的數字,例如 192.168.1.1。 IPv6 地址是 128 位數字,寫成八組四個十六進制數字,用冒號分隔,例如 2001:0db8:85a3:0000:0000:8a2e:0370:7334。
IP 地址是互聯網工作方式的重要組成部分,因為它們允許設備相互通信並訪問在線資源。
IP stands for internet protocol, which is the standard that governs how data is transmitted over the internet. When you connect to the internet, your device is assigned a unique IP address, which is a numerical label that identifies your device on the network. This allows other devices on the internet to send and receive data to and from your device.
There are two main types of IP addresses: IPv4 and IPv6. IPv4 addresses are 32-bit numbers that are typically written as four numbers separated by periods, such as 192.168.1.1. IPv6 addresses are 128-bit numbers that are written as eight groups of four hexadecimal digits, separated by colons, such as 2001:0db8:85a3:0000:0000:8a2e:0370:7334.
IP addresses are an essential part of how the internet works, as they allow devices to communicate with each other and access online resources.
那麼有時候設定一些功能時,需要查詢到主機ip,可以用下面的指令來查詢
首先點選執行,輸入CMD,開啟命令執行程式

接著輸入ping 指令,後面接要查詢的網址

如果想知道google的ip,即輸入ping www.google.com,可以得知ip為142.251.42.228
當然同樣的方面,也可以輸入本網站134520.com.tw的ip,同時也可以得知回應的速度與TTL與網路暢通的狀況
很簡單的方式快速查到,學會了嗎?