2
$ 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은 7810
을 지정했지만 포트 80
을보고있는 것으로 보입니다. 이 문제를 해결하려면 어떻게해야합니까?curl은 성공하지만 wget은 사용자 정의 포트에 대한 요청에 대해 502 오류를 발생시킵니다.