Server admins working over SSH have no browser to open Google for IP checks. Here is how to discover outbound public IP from the terminal with curl.
curl https://www.u-star.org/api/ip
curl is a CLI tool for HTTP and other protocols. - **Linux/Mac:** `curl https://www.u-star.org/api/ip` - **Windows PowerShell:** `curl https://www.u-star.org/api/ip` The API returns a compact JSON or plain IP response in the terminal.
After logging into a cloud VM, you must know the outbound public IP before asking partners to whitelist your server in their firewall. curl gives that number immediately.
If curl is missing: - **wget:** `wget -qO- https://www.u-star.org/api/ip` If PowerShell curl alias conflicts: - **Invoke-RestMethod:** `Invoke-RestMethod -Uri https://www.u-star.org/api/ip`