this post was submitted on 24 Nov 2026
668 points (96.8% liked)

Programmer Humor

34287 readers
1949 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
(page 2) 47 comments
sorted by: hot top controversial new old
[–] samus12345@sh.itjust.works 18 points 2 days ago
[–] Obeca@pawb.social 6 points 1 day ago (1 children)

I don’t know, 127.1.2.3 seems quite similar.

Something it took me a while to realize is that each and every one of these addresses have a complete set of ports available for usage, so you can use port 80 on 127.0.1.0 and port 80 on 127.0.0.2 for different services.

load more comments (1 replies)
[–] supersquirrel@lemmy.ca 16 points 2 days ago (22 children)

Side note, why the hell did programmers make this as the home ip? Why couldn't it have been something intuitive that said to normal people "home" in some way?

I will never not be grumpy about this, it is such a trivial, random choice that only makes sense once you understand everything about it already.

load more comments (22 replies)
[–] BoosBeau@lemmy.world 2 points 1 day ago

bahaha this is so dumb, i love it

[–] Ooops@feddit.org 13 points 2 days ago (2 children)

Why so formal? Just call it 127.1

[–] slazer2au@lemmy.world 22 points 2 days ago (3 children)

::1 to be hip with the youth.

[–] antsu@discuss.tchncs.de 3 points 2 days ago

I can't afford a house that big!

[–] Ooops@feddit.org 2 points 1 day ago

My provider isn't hip enough for ipv6, so I'm too lazy to use it in parallel in my home network. 😅

[–] Redjard@reddthat.com 4 points 2 days ago

https://[::]

load more comments (1 replies)
[–] lena@gregtech.eu 12 points 2 days ago

There's no landlord like lo

[–] Sir_Premiumhengst@lemmy.world 10 points 2 days ago
[–] MonkderVierte@lemmy.zip 5 points 2 days ago

Right? Local hosting it is.

[–] artwork@lemmy.world 4 points 2 days ago

There's home://127.0.0.1 ^^

[–] RedSnt@feddit.dk 3 points 2 days ago (1 children)

This is more of a meta comment. I put

[CustomHosts]
127.0.0.1    localhost.ip4
::1          localhost.ip6

in /etc/systemd/resolved.conf.d/custom-hosts.conf / /etc/hosts/ (sans the header) to make it a 1 character edit to switch between localhost ipv4 and localhost ipv6.

[–] OliMoli2137@piefed.social 4 points 2 days ago (3 children)

/etc/hosts is a file, why the leading slash

[–] RedSnt@feddit.dk 2 points 2 days ago

I meant, the /etc/hosts file doesn't need the [CustomHosts] header.

load more comments (2 replies)
[–] LovableSidekick@lemmy.world 2 points 2 days ago* (last edited 2 days ago)

I have this thing!! But it just has the IP addy without the protocol.

[–] darklamer@feddit.org 2 points 2 days ago (3 children)

How about using IPv6 in 2026?

[–] sbv@sh.itjust.works 7 points 2 days ago

I dunno about this v6 thing. I don't think it'll ever take off. /s

load more comments (2 replies)
[–] BuckFutter@timeyak.com 2 points 2 days ago

❤️ localhost

load more comments
view more: ‹ prev next ›