Table of Contents

Get External IP Command Line

Nov 2024


Overview


If you have a web UI its quite easy to get your external IP Address, there are many websites that do this for you. However, with just the command line, it's not so easy, unless of course you know the following command.

Using Curl

We can use Curl to get our external IP, enter the following from the command line.

  curl ifconfig.me



This will return your external IP.