If I run curl ifconfig.me
I get one IP and if I run ifconfig
, I get other IP's. Why is it so ?
1 Answer
ifconfig
is grabbing your local, NAT'd IP address. curl ifconfig.me
is grabbing the public IP provided to you by your ISP.
ifconfig
is grabbing your local, NAT'd IP address. curl ifconfig.me
is grabbing the public IP provided to you by your ISP.