php - Why error.com redirect me to my wamp server localhost?

How this error.com works? When I enter error.com without https protocol it just redirects to my wamp server localhost.
Answer
Solution:
127.0.0.1
is an local ip , its unique on all devices, whene you install anyhttp server
likeWIMP
orapache2
, you activate automaticaly the http protocol on your local Ip's (ex:192.168.1.200) and on yourloopback
ip (127.0.0.1
)
in case oferror.com
:
it's has a DNS record that goes directly to the loopback address127.0.0.1
When your device invokes a DNS server, convert the error.com domain name to IP, the DNS server replies with an address of127.0.0.1
.
after , your device send request to ip geted bydns
Request (127.0.0.1)
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: closed without sending a request; it was probably just an unused speculative preconnection
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.