I'm having trouble connecting to a repel running on a virtual server via virtualbox. I'm fairly certain that all the firewalls are turned off and when i do a port scan on the box it says the port that i'm using is open. I'm using spacemacs with ciderconnect and i'm getting the error: Connection closed unexpectedly (connection broken by remote peer)
I started it using the following command: lein repl :headless :port 4242
I'm not sure where to look or how to troubleshoot this issue...
the service that's running does say: nREPL server started on port 4242 on host 127.0.0.1 - <nrepl://127.0.0.1:4242>
If i try to connect via: lein repl :connect 127.0.0.1:4242
i get: Connecting to nREPL at localhost:4242 SocketException The transport's socket appears to have lost its connection to the nREPL server clojure.tools.nrepl.transport/bencode/fn--5154/fn--5155 (transport.clj:95) clojure.tools.nrepl.transport/bencode/fn--5154 (transport.clj:95) clojure.tools.nrepl.transport/fn-transport/fn--5126 (transport.clj:42) clojure.core/binding-conveyor-fn/fn--4676 (core.clj:1938) java.util.concurrent.FutureTask.run (FutureTask.java:266) java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1149) java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:624) java.lang.Thread.run (Thread.java:748) Bye for now!
hmm. I am able to connect with that same command while sshed into the virtualbox...