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

Re: wget/curl cannot work on debian amd64



2012/3/21 严海东 <handlerofmaster@gmail.com>:
> Dear all:
>         I have a problem with using wget and curl on debian amd64
>         when I type a command -- wget www.XXX.com, error messages
> will display as below:
>         --2012-03-21 14:43:43--  http://www.XXX.com/
>         Resolving 10 (10)... 0.0.0.10
>         Connecting to 10 (10)|0.0.0.10|:8080... failed: Invalid argument
>
>        when I type curl command--curl www.XXX.com, error messages
> will display as below:
>
>        curl: (7) Failed to connect to 0.0.0.10: Invalid argument
>
>        Does anyone have any ideas to solve it ?
>
>        BR!
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] CAAC+c498M1khJD6Nx1x=kGVjbaeFC_0gC8MYUQ_FSo9STqiTdQ@mail.gmail.com">http://lists.debian.org/[🔎] CAAC+c498M1khJD6Nx1x=kGVjbaeFC_0gC8MYUQ_FSo9STqiTdQ@mail.gmail.com
>

Hi,

I think the problem cause can be seen in the following line:

>Connecting to 10 (10)|0.0.0.10|:8080... failed: Invalid argument

The wget command tries to connect to a proxy located in 0.0.0.10. And
this is a bizarre IP address to me

Define the http_proxy=your_proxy_ip_address:port variable, then
execute the wget command again and see what happens

Best regards,

--------------------------------------------------------------------------------------
Juan Sierra Pons                                 juan@elsotanillo.net
Linux User Registered: #257202       http://www.elsotanillo.net
GPG key = 0xA110F4FE
Key Fingerprint = DF53 7415 0936 244E 9B00  6E66 E934 3406 A110 F4FE
--------------------------------------------------------------------------------------


Reply to: