curl: (7) couldn't connect to host // wget --> failed: Connection refused.
Hi all,
I am quite a newbie. I have Mandriva 2009 Spring installed on a Thinkpad T40. All works well but since last week I have broken somehow curl and wget : Quote:
Quote:
Please, don't hesitate to refer me to another solved thread to reseach. Thank you |
Hi
welcome to LQ! Is the URL still accessible via ordinary browser? What's the network topology, are you behind a proxy/firewall? What do you see when you ? Cheers, Tink |
Thanks Tinkster,
I forgot to mention
Where should I start looking ? |
I tried Konqueror. Same probleme as Lynx not access to any url.
Either somehting special with my firefox config for http and the filezilla for ftp. Or Firefox is messing up the mandriva build-in browsers. |
I don't think ff has that power ... if you don't have telnet - how about netcat?
Is SE Linux enabled, and your FF the only browser permitted out on ports 80 and/or 443? You could also try to run curl or wget under strace, log info ot a file and see where you get errors/permission problems ... Cheers, Tink |
Quote:
SELinux is RH distro isn't it ? I am Mandriva.--> no idea about ports opened for which browser. I am looking at the strace output... won't be easy For info while I try to understand the raw output, here is the -c output : Quote:
Quote:
|
My search didn't bring me anywhere :(
Can someone help me ? |
Not with that amount of info. I'd highly recommend installing
either telnet or nc (nc being the predfered choice because it's far more versatile). Cheers, Tink |
Whats in /etc/hosts? Firefox used to do funny things resolving via hosts, especially if you have some proxy set up. Is that all clear?
|
Thank you.
Quote:
Quote:
Quote:
Quote:
|
Hummm ... still doesn't make any sense. Is there a proxy
somewhere that firefox knows about, and other browsers don't? |
Excellent Tink, you got me on the way.
I feel like a moron now.:o :redface: I changed proxy settings on drake gui... Now wget and curl is working. However netcat is still giving me the same thing. In my mother tongue I'd say "Touche pas à ca p'tit con". Thanks a lot Tink. |
Did you use a proxy?
curl and wget try to download things through proxy even if the proxy is unavailable. so the simplest way is to export http_proxy="" and put it into your .bash_profile.
|
All times are GMT -5. The time now is 08:35 PM. |