GNU bug report logs - #23606
25.1.50; "localhost" vs. "127.0.0.1"

Previous Next

Package: emacs;

Reported by: Ken Brown <kbrown <at> cornell.edu>

Date: Mon, 23 May 2016 20:35:01 UTC

Severity: normal

Found in version 25.1.50

Done: Ken Brown <kbrown <at> cornell.edu>

Bug is archived. No further changes may be made.

Full log


Message #20 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Achim Gratz <Stromeko <at> nexgo.de>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#23606: 25.1.50; "localhost" vs. "127.0.0.1"
Date: Tue, 24 May 2016 19:20:23 +0200
Ken Brown writes:
> The test echo-server-nowait in test/lisp/net/network-stream-tests.el
> fails on Cygwin, but it passes if I create the client process using
> "127.0.0.1" instead of "localhost":

This could be a case where it makes a difference if the IPv6 (::1) or
IPv4 address is returned (first) for localhost.  IIRC, Windows and
up-to-date Linux prefer IPv6 by default.  If so, it would likely be
better to fix the parts of the code that assumes return of IPv4
addresses only.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables





This bug report was last modified 9 years and 58 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.