O
O
Outoverlay2016-02-25 21:09:19
local server
Outoverlay, 2016-02-25 21:09:19

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

4 answer(s)
A
Alexander Aksentiev, 2016-02-25
@Sanasol

From a misconfigured/default webserver that doesn't pass the real IP address.
Who hosts websites from home these days...

T
ThunderCat, 2016-02-25
@ThunderCat

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.

V
Vlad Zhivotnev, 2016-02-25
@inkvizitor68sl

google -> mod_rpaf, mod_remoteip if apache+nginx
If something else, then read about how to pass X-Real-IP to the application correctly.

P
Puma Thailand, 2016-02-25
@opium

Nginx go and proxy and nginx has local ip localhost

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question