Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

wget/curl cannot work on debian amd64

120 views
Skip to first unread message

严海东

unread,
Mar 21, 2012, 2:50:01 AM3/21/12
to
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-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/CAAC+c498M1khJD6Nx1x=kGVjbaeFC_0gC8M...@mail.gmail.com

Juan Sierra Pons

unread,
Mar 21, 2012, 3:00:03 AM3/21/12
to
2012/3/21 严海东 <handler...@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 ju...@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
--------------------------------------------------------------------------------------


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/CABSy9tZJKrSA4avk2CizLuf...@mail.gmail.com

Raffaele Morelli

unread,
Mar 21, 2012, 3:10:02 AM3/21/12
to

2012/3/21 严海东 <handler...@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


man wget  :-)

it seems just like your dns is preventing you to grab some porno stuff by pointing to a local invalid address.
you should not be able to browse that site, have a try.
moreover, if you are on a multiuser box look (if you can) for a line starting with 0.0.010 in your /etc/hosts

regards
-r

严海东

unread,
Mar 21, 2012, 4:30:02 AM3/21/12
to
I have solved it.
As Juan Sierra Pons mentioned,I echo $http_proxy in the teminal and
see it pointing to 0.0.0.10:8080.
It is seted by gnome, and can be reset in system
settting->networking->network proxy.
thank you all to help me to solved it!!!
________________________________

This email (including any attachments) is confidential and may be legally privileged. If you received this email in error, please delete it immediately and do not copy it or use it for any purpose or disclose its contents to any other person. Thank you.

本电邮(包括任何附件)可能含有机密资料并受法律保护。如您不是正确的收件人,请您立即删除本邮件。请不要将本电邮进行复制并用作任何其他用途、或透露本邮件之内容。谢谢。


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/CAAC+c4_YU4ySduRQjoCbH-qo-2-nS3KkXQvspvvT...@mail.gmail.com

Jude DaShiell

unread,
Mar 21, 2012, 5:30:02 AM3/21/12
to
Why not try aria2c?

On Wed, 21 Mar 2012, Juan Sierra Pons wrote:

> 2012/3/21 ??? <handler...@gmail.com>:
> Archive: http://lists.debian.org/CABS=y9tZJKrSA4avk2CizLufNJSTLDgYv4=Wki4fsbrub7f=N...@mail.gmail.com
>
>

----------------------------------------------------------------
Jude <jdashiel-at-shellworld-dot-net>
<http://www.shellworld.net/~jdashiel/nj.html>


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/alpine.BSF.2.01.1...@freire1.furyyjbeyq.arg
0 new messages