curl успешно выполняется, но wget выдает ошибку 502 для запроса на пользовательский порт
$ curl http://localhost:7810/test
hello world!
$
$
$ wget http://localhost:7810/test
--2011-09-27 07:04:06-- http://localhost:7810/test
Resolving <snipped>
Connecting to <snipped> connected.
Proxy request sent, awaiting response... 502 Bad Gateway
2011-09-27 07:04:06 ERROR 502: Bad Gateway.
$
Похоже, что wget смотрит на порт 80, хотя я указал 7810. Как я могу обойти эту проблему?
Comments