librelist archives

« back to archive

lein repl fails on Mac OS X machine

lein repl fails on Mac OS X machine

From:
Andrés Corrada-Emmanuel
Date:
2013-06-07 @ 11:07
Hello,

I have two identical Mac laptop models. One is my home computer, the other
my work one. On the home computer I can run "lein repl" and get the repl
prompt. No problems there.

On the work machine I get:

ConnectException Connection refused
java.net.PlainSocketImpl.socketConnect (PlainSocketImpl.java:-2)
java.net.PlainSocketImpl.doConnect (PlainSocketImpl.java:351)
java.net.PlainSocketImpl.connectToAddress (PlainSocketImpl.java:213)
java.net.PlainSocketImpl.connect (PlainSocketImpl.java:200)
java.net.SocksSocketImpl.connect (SocksSocketImpl.java:432)
java.net.Socket.connect (Socket.java:529)
java.net.Socket.connect (Socket.java:478)
java.net.Socket.<init> (Socket.java:375)
java.net.Socket.<init> (Socket.java:189)
clojure.tools.nrepl/connect (nrepl.clj:184)
clojure.core/apply (core.clj:617)
clojure.tools.nrepl/add-socket-connect-method!/fn--3422 (nrepl.clj:226)

Both machines have the firewall off. Both have the same version of Java
installed: v7 update 21. Both have the same version of lein. Any ideas why
the difference? Thank you.

-- 
Andrés Corrada-Emmanuel
blog: www.corrada.com/blog