http://bugs.winehq.org/show_bug.cgi?id=13246
--- Comment #4 from Kai Blin kai.blin@gmail.com 2008-05-16 03:39:42 --- (In reply to comment #3)
anyways windows has the loopback entry in its hosts file too and only the loopback entry. so something is not behaving as it should
That's because Windows generally ignores the host file and gives you the IP address of the last interface that came up, whereas Unix systems always check the hosts file. This is very, very hard to work around and also only creates problems for applications that use gethostbyname( gethostname() ) to figure out their IP address, which is a bad idea even on Windows machines, as this will break if you have a multihomed host and the interface you don't want to use came up last.