This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-01-18
Channels
- # announcements (19)
- # babashka (30)
- # beginners (51)
- # biff (12)
- # calva (20)
- # cider (27)
- # clara (20)
- # clj-kondo (19)
- # clojure (128)
- # clojure-canada (1)
- # clojure-dev (5)
- # clojure-europe (29)
- # clojure-nl (1)
- # clojure-norway (48)
- # clojure-uk (5)
- # clojurescript (6)
- # clr (37)
- # core-async (17)
- # cursive (2)
- # data-oriented-programming (2)
- # datahike (1)
- # datomic (5)
- # emacs (22)
- # exercism (1)
- # funcool (17)
- # humbleui (15)
- # jobs (1)
- # malli (44)
- # off-topic (11)
- # podcasts-discuss (1)
- # pomegranate (1)
- # react (1)
- # remote-jobs (1)
- # shadow-cljs (25)
- # tools-build (12)
- # tools-deps (70)
- # xtdb (24)
I'm trying to connect to an nrepl running on an ec2 instance, but i get an error ; No nrepl port file found. how do i solve this?
i'm running a luminus project
i added an NREPL_PORT environment variable so that on start up, an nrepl server is started
i am trying to connect calva to that running nrepl server
the port nrepl is listening on is open for my local ip address
I'm curious about the error message you get. Can you describe the steps you take to connect?
i was not able to connect with lein repl etc
The steps that I take are 1) run connect to running repl from the command pallet 2) select 'leiningen' option 3) fill in ip and port in form dialog
I see. The message that there is no nrep-port file is not an error, it's information meant to explain why there is no port pre-filled in the connect dialog. Maybe not the best message, especially when the connect fails, but anyway.
If you can't connect using lein
, that means there is something wrong with how the nrepl server port is shared. Could be that the server binds it to 127.0.0.1, which is localhost/loopback and only works from the machine. Binding to 0.0.0.0 should work much better.
mmm ok
thank you
leiningen
I shut down the instance, but next time I spin one up I'll try this