3

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 1

8

ifconfig is grabbing your local, NAT'd IP address. curl ifconfig.me is grabbing the public IP provided to you by your ISP.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .