Connection refused to install quicklisp error

When evaluated (quicklisp-quickstart:install)

in SBCL I get (linux):

debugger invoked on a SB-BSD-SOCKETS:CONNECTION-REFUSED-ERROR in thread
#<THREAD "main thread" RUNNING {1002978FF3}>:
  Socket error in "connect": ECONNREFUSED (Connection refused)

Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [ABORT] Exit debugger, returning to top level.



and in CMUCL I get:

Error in CONNECT-TO-INET-SOCKET function: socket connection error to []: Connection refused [CONNECT-ERROR status]

Reboot: 0: [ABORT] Return to the top level.

Debugging (type H for reference)



source to share

1 answer

This can happen if a proxy is involved. Many system programs (like wget, web browsers, etc.) will look at environment variables or other configurations to automatically use the proxy correctly, but Quicklisp must be explicitly informed about this.

In environment variables, you can see the proxy settings.

If you know your proxy url, you can set it during installation with the option :proxy

on install




All Articles