【 Tools 】取得本機對外 IP
內容
- 學習目標
- 前置準備作業
- 取得對外 IP 位置
學習目標
- 如果取得對外 IP
前置準備作業
- 準備一台
Windows或macOS或Ubuntu電腦
取得對外 IP 位置
Step 1. 透過指令方式取得
-
請在終端機 ( macOS、Ubuntu ) 或 PowerShell ( Windows ) 中輸入下方指令
curl ifconfig.me-
Windows
-
macOS
-
Ubuntu
-
Windows 或 macOS 或 Ubuntu 電腦請在終端機 ( macOS、Ubuntu ) 或 PowerShell ( Windows ) 中輸入下方指令
curl ifconfig.me Windows
macOS
Ubuntu