bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23620: 25.0.94; url-retrieve fails on localhost


From: Artur Malabarba
Subject: bug#23620: 25.0.94; url-retrieve fails on localhost
Date: Wed, 25 May 2016 15:45:14 -0300

Assuming you have a webserver serving on localhost:5100, run the
following snippet:

(url-retrieve "http://localhost:5100/";
              (lambda (&rest r)
                (message "%S" r)))

It fails with the following error:
    (:error (error connection-failed "failed with code 111\n"
                   :host "localhost"
                   :service 5100))

Note that if I switch to a terminal and try curl:
    curl "http://localhost:5100/";
it works fine.

Using `url-retrieve' on remote urls also works fine.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]