clojure-jack-in : error in process filter: open-network-stream: make client process failed: Connecti

1041 ワード

clojure-jack-in起動エラー
エラーメッセージは次のとおりです.
Connecting to Swank on port 65280.. [2 times]
error in process filter: open-network-stream: make client process failed: Connection refused, :name, SLIME Lisp, :buffer, nil, :host, localhost, :service, 65280, :nowait, nil
error in process filter: make client process failed: Connection refused, :name, SLIME Lisp, :buffer, nil, :host, localhost, :service, 65280, :nowait, nil
解決策は次のとおりです.
My hostname was set to "localhost"which is why the underlying dns lookup was returning the actual interface, not the loopback. Here's the fix:
localhost:~ amitava$ sudo scutil --set HostName amitava.local
amitava:~ amitava$ scutil --get HostName
amitava.local
amitava:~ amitava$ clj
Clojure 1.3.0
user=> (import 'java.net.InetAddress)
java.net.InetAddress
user=> (InetAddress/getByName "localhost")
#<Inet4Address localhost/127.0.0.1>
user=> 

詳細は以下を参照してください.
https://github.com/technomancy/swank-clojure/issues/68