Copying this over from a discussion in the clojurians slack:

The description in the ticket NREPL-83 suggests "start-server" will try 
“::” first and then fall back to “localhost”.  However, running in Alpine 
Linux, the attempt to bind “::” throws an exception and the fallback to 
"localhost" never occurs. AFAIK, Alpine is different in more ways than 
one... ipv6 disabled by default, and also musl-libc has its own resolver, 
so multiple factors could be adding up here.

The result however is an exception and behavior that doesn't match the 
expectation established in the docs, at least the way I'm reading them. 
Obviously the caller can workaround this problem by explicitly passing a 
:bind argument, like (start-server :port p :bind "localhost").

Here' a transcript to show what I mean: 
https://gist.github.com/gonewest818/ae5c5caf49380f81c5a2667408da6d4f

lines 1-74 is the transcript of launching alpine, installing lein, and 
creating a project with nrepl 0.2.13

lines 75-76 demonstrate the exception when no :bind is specified

lines 78-79 would be a workaround

lines 90-91 duplicates the exception by doing essentially what is going on 
inside tools.repl


thanks,
Neil

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to