Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
Quickly Get Your Local and Public IP Address from the Command Line | Better HN
Quickly Get Your Local and Public IP Address from the Command Line
(opens in new tab)
(nickjanetakis.com)
2 points
nickjj
8d ago
1 comments
Share
1 comments
default
newest
oldest
nickjj
OP
8d ago
Besides having a script to run `myip`, `myip --local` or `myip --public`, the post and video go over using strace to monitor network traffic to make sure the command to help get your local IP address isn't accessing the public internet.
j
/
k
navigate · click thread line to collapse