The following message is a courtesy copy of an article that has been posted to comp.lang.misc as well. itojun / itojun.org writes: > still not sure why you get ::ffff:127.0.0.1... you should be getting > ::1, or 127.0.0.1. It seems to me that either (1) getaddrinfo is buggy > (2) ::ffff:127.0.0.1 is in /etc/hosts. Arrgh! It was the nscd daemon. If I kill it, then the addresses come back without the ::ffff: on them. I'll go look for the latest version and see if this is a known bug. Regards Dave