From: Andy Wingo <wingo@pobox.com>
To: taylanbayirli@gmail.com (Taylan Ulrich "Bayırlı/Kammer")
Cc: 18914@debbugs.gnu.org
Subject: bug#18914: 2.0.11 REPL server listens on 127.0.0.1 but not "localhost"
Date: Tue, 12 Jul 2016 09:17:44 +0200 [thread overview]
Message-ID: <87eg6z2ulj.fsf@pobox.com> (raw)
In-Reply-To: <87por9tyih.fsf@pobox.com> (Andy Wingo's message of "Wed, 22 Jun 2016 10:32:06 +0200")
On Wed 22 Jun 2016 10:32, Andy Wingo <wingo@pobox.com> writes:
> Works for me, with Guile 2.0.11 also. Could it be that "nc" is trying
> to connect to an IPv6 address?
Pretty sure that's what's going on here. When Guile makes server
sockets, it assumes it should listen on a single family/address/port
triple. Specifically for INADDR_LOOPBACK that's going to be IPv4
127.0.0.1 and not IPv6 at all. Probably we should use getaddrinfo if
the user supplies a "host", and use that to plumb through a list of
addresses on which to bind (and/or connect).
Andy
next prev parent reply other threads:[~2016-07-12 7:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-30 13:52 bug#18914: 2.0.11 REPL server listens on 127.0.0.1 but not "localhost" "Taylan Ulrich Bayırlı/Kammer"
2014-10-31 22:33 ` dsmich
2014-10-31 22:49 ` Taylan Ulrich Bayırlı/Kammer
2014-11-01 20:56 ` dsmich
2014-11-02 13:23 ` Taylan Ulrich Bayırlı/Kammer
2016-06-22 8:32 ` Andy Wingo
2016-07-12 7:17 ` Andy Wingo [this message]
2021-05-17 20:43 ` Taylan Kammer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87eg6z2ulj.fsf@pobox.com \
--to=wingo@pobox.com \
--cc=18914@debbugs.gnu.org \
--cc=taylanbayirli@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).