Skip to content

Instantly share code, notes, and snippets.

@andrewpetrochenkov
Last active August 4, 2024 11:05
Show Gist options
  • Select an option

  • Save andrewpetrochenkov/562cacc7ddd5bd126b55e80436c13efb to your computer and use it in GitHub Desktop.

Select an option

Save andrewpetrochenkov/562cacc7ddd5bd126b55e80436c13efb to your computer and use it in GitHub Desktop.
ip internal and public
ipconfig getifaddr en1 # internal IP
curl -s ipecho.net/plain # public IP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment