/etc/hosts file defaults your hostname to
127.0.1.1 rather than
127.0.0.1 localhost 127.0.1.1 my_machine
I've already found out why. But that was giving me problems testing some web apps, which had hard-coded assumption, that local machine ==
127.0.0.1. So I've change my hosts file to
127.0.0.1 localhost my_machine
- are there reasons for which
127.0.1.1hack still valid?
- if so, which software included in 11.04 might have problem with the change I've made?