Hi radit91,
radit91 wrote:Because it works for me and it helps others to.
Thats crap. Just because it works for you doesn't mean that others should get confused by your configuration. Defining more than one IP address (in your case 0.0.0.0 and 127.0.0.1) to the same domain name (localhost) can have really confusing side effects.
Name resolution is no m:n relationship, it's 1:m (one ip address can be bind to many domain names, not the other way round). What do you think should a computer do if you have defined more than one ip address to the same domain name? Roll a dice?
radit91 wrote:If you think this thread is misleading, then just report it
Not the whole thread is misleading, but parts of your HOSTS configuration.
0.0.0.0 does have a different meaning than 127.0.0.1
The 127. network is made for loopback, which is needed for some of the server component communication.
0.0.0.0 is simply a dummy ip address which a computer gets right before it can get any ip address from dhcp or the own network adapter. If you bind a domain name to 0.0.0.0 it simply means drop everything from that domain name (which can be very helpful to to prevent some ads or malware, but not for localhost). It is not made for loopback.
radit91 wrote:And don't complain about it to me, because I'm still a noob to XAMPP
Because you are a noob we are trying to give you more information about whats going on with your system. That has nothing to do with a complaint, we just want to correct your information so that others will not adapt your wrong configuration just because you don't know exactly what you are doing there.
radit91 wrote:If you have an official solution, please post it here.
The official solution is, to add a HOSTS domain name resolution from localhost to 127.0.0.1 and to bind the MySQL Server in its configuration to 127.0.0.1 too.
best wishes,
Altrea