2012/3/21 严海东 <handlerofmas...@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-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: > http://lists.debian.org/CAAC+c498M1khJD6Nx1x=kgvjbaefc_0gc8myuq_fso9stqi...@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 j...@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-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CABS=y9tZJKrSA4avk2CizLufNJSTLDgYv4=Wki4fsbrub7f=n...@mail.gmail.com