If I run curl ifconfig.me I get one IP, and if I run ifconfig, I get other IP's. Why is it so ?
ifconfig is grabbing your local, NAT'd IP address. curl ifconfig.me is grabbing the public IP provided to you by your ISP.
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
2 years ago