this post was submitted on 17 Sep 2023
755 points (97.7% liked)

Programmer Humor

32266 readers
37 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

It's a public IPv4 address in the picture.

There are 3 ranges of IPv4 addresses which are reserved for private use:

24-bit block 10.0.0.0 – 10.255.255.255 20-bit block 172.16.0.0 – 172.31.255.255 16-bit block 192.168.0.0 – 192.168.255.255

[–] [email protected] 2 points 1 year ago (2 children)

Oh wow.... Didn't know this lol. I thought that OP would be using their private IP to access their homserver from home. Turns out I got completely confused....

[–] [email protected] 2 points 1 year ago

I think if they were using a private IP, there wouldn't really be a joke. Of course the router can resolve an IP in its network. The joke is that they're using their public IP from inside their network, and when the request gets the router, instead of resolving externally, it resolves to the public IP of the router itself.

[–] [email protected] 1 points 1 year ago

I changed my local subnet to 10.1.2.0, because it's much easier to type.