Fork me on GitHub
#shadow-cljs
<
2023-01-11
>
pez17:01:54

Can I configure the nrepl server to bind to 0.0.0.0?

pez17:01:18

That's for the http server, right? Maybe ”indicate” is the key word there. 😃 Also, I added it to the :nrepl map and I think it works, because now I can connect! (I'm running the nrepl server in a docker container.)

dpsutton17:01:41

ah right. but glad to hear its working out

thheller20:01:56

yes, :nrepl {:host "0.0.0.0"}

🙏 2
eighttrigrams21:01:48

hi, can anyone tell me if it is possible to change the default websocket port to 9631? cannot find anything to that effect.

eighttrigrams21:01:08

want to be able to develop multiple instances of shadow-cljs apps at the same time on the same machine (more specifically inside the same docker-compose setup)

thheller06:01:12

:http {:port 9631} in shadow-cljs.edn top level

eighttrigrams21:01:24

Perfect, thanks @U05224H0W. I saw that setting somewhere but didn't realize that it was what i was looking for