|
From: | Dmitry Gutov |
Subject: | bug#12893: 24.2.50; url-retrieve fails for localhost |
Date: | Sat, 22 Dec 2012 14:23:40 +0400 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
On 22.12.2012 14:07, Andreas Schwab wrote:
Dmitry Gutov <dgutov@yandex.ru> writes:On 22.12.2012 13:44, Andreas Schwab wrote:Dmitry Gutov <dgutov@yandex.ru> writes:On 22.12.2012 7:03, Chong Yidong wrote:Dmitry Gutov <dgutov@yandex.ru> writes:I have an HTTP server running, started from an inferior process. If I evaluate (switch-to-buffer (url-retrieve-synchronously "http://localhost:24959/classes")), it brings me to an empty buffer which has "failed" in the mode line. If I call the asynchronous version, it passes this into the callback: ((:error (error connection-failed failed with code 111 :host localhost :service 24959)))I think this may be the same as Bug#12374, which was just fixed by Takafumi Arakaki. Could you try again with latest trunk and see if the problem is still there?Tried it, still there.Why did localhost:24959 refuse connection?How can I find out the answer?Look at the server log?
The access log is empty. And there's nothing printed to stderr. When connecting from Emacs to "localhost", that is.
I'll try to concoct a minimal example a bit later.
[Prev in Thread] | Current Thread | [Next in Thread] |