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


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Ken Brown <kbrown <at> cornell.edu>
Cc: 23606 <at> debbugs.gnu.org
Subject: bug#23606: 25.1.50; "localhost" vs. "127.0.0.1"
Date: Mon, 23 May 2016 23:00:16 +0200
Ken Brown <kbrown <at> cornell.edu> 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":

If it doesn't work on Cygwin, then perhaps the test should just be
disabled there.

> -                                     :host "localhost"
> +                                     :host "127.0.0.1"

There's one test for "localhost" and one for "127.0.0.1", and the point
of those tests are to test whether name resolution works, and to test
that connecting with an IP address works.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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.