Kaizen Today I Learned by Ville Säävuori

Posts tagged networking

Finding Your IP Addres(ses) Via macOS Command Line

I needed a programmatic way to figure out my local and public IP address for a WebRTC app. I’m also using Tailscale so in case I was connected to it I want to use the Tailscale IP instead. These commands worked for me on macOS 12.6 Monterey: Local IP ifconfig | grep "inet " | grep -Fv 127.

· Read the full article →