Answer the question
In order to leave comments, you need to log in
Where did users get 127.0.0.1 from?
Faced with an extremely unpleasant situation... The fact is that I checked, if ip 127.0.0.1, then display things on the site that are available only to me. And today I went to the site from another device, and was surprised where localhost appeared on the PC, which didn’t have a web server at all?
Answer the question
In order to leave comments, you need to log in
From a misconfigured/default webserver that doesn't pass the real IP address.
Who hosts websites from home these days...
the localhost alias has nothing to do with the presence / absence of a server on the machine, it is a conditional interface, with the name localhost and ip 127.0.0.1, which is the default address of the so-called "internal loop", in fact, inside the operating system, this is a virtual network connection with "this machine ". So there is nothing a * enny here. You don't even need a network card to access it.
google -> mod_rpaf, mod_remoteip if apache+nginx
If something else, then read about how to pass X-Real-IP to the application correctly.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question