Miah Johnson on Nostr: I am reminded that "localhost" is magical. Most believe it resolves to 127.0.0.1, and ...
I am reminded that "localhost" is magical. Most believe it resolves to 127.0.0.1, and it usually does. But it's not impossible to add "localhost" to DNS and have it resolve to a different address.
Additionally. "localhost" doesn't even have to resolve to 127.0.0.1. We get a whole /8! Do you want to run two local webservers and have them both use port 80? You could have them listen on different addresses! 127.0.0.2 and 127.0.0.3! Have fun 😁
Published at
2024-08-10 12:13:39Event JSON
{
"id": "b74b02b76589383a5960d570dbff5102507216cacfeec23cc4e6da714eb72ae2",
"pubkey": "86228fcc28e002bbb603486fd0c5e37470acccf1200283a121f1db7fd75efd79",
"created_at": 1723292019,
"kind": 1,
"tags": [
[
"proxy",
"https://hachyderm.io/users/miah/statuses/112937665818578052",
"activitypub"
]
],
"content": "I am reminded that \"localhost\" is magical. Most believe it resolves to 127.0.0.1, and it usually does. But it's not impossible to add \"localhost\" to DNS and have it resolve to a different address.\n\nAdditionally. \"localhost\" doesn't even have to resolve to 127.0.0.1. We get a whole /8! Do you want to run two local webservers and have them both use port 80? You could have them listen on different addresses! 127.0.0.2 and 127.0.0.3! Have fun 😁",
"sig": "a287cef542f15ffdcc5dbc5c0f2499f3f97ac6cb3e13d1df63c35b9db913988880178516962d4141be7e99dcaf86b8e0f3745460bc5a7022bb216a6e84a4a959"
}