I just came across a server that does not respond to things like
ping localhost or
mysql -h localhost - I believe this is because localhost is not defined in the hosts file.
On just about every machine I've used
localhost has been an entry in the hosts file. Is there any good reasons not to define it - like possible security concerns? Or is this something that probably should be configured by default and perhaps is just missing?