3 ms·
I'm not very networking-wise, got a question: is the "local machine" alwyas a well-defined thing? I'm thinking about stuff like where hosts are transparently di
by bjackman 10y ago
I'm not very networking-wise, got a question: is the "local machine" alwyas a well-defined thing? I'm thinking about stuff like where hosts are transparently distributed. Maybe there are systems out there that take advantage of resolving localhost to other than 127.* in order to make applications easy to transparently migrate when scaling servers out, or something?
- justincormack 10y agoNo, if your application is distributed, you won't be referring to localhost.
- kefka 10y agoAnd why not? If we are running distributed services, we know the machine that the code is run on is running. We can even reference this by many languages version of "this" keyword. localhost is only "this" for IP4/6
- andreareina 10y agoI think the GP meant that the client won't be calling on the server through 'localhost', at least not as a hard-coded parameter.
- EdwardDiego 10y agoWe have a reasonably distributed system. Localhost only ever occurs in a testing environment.