curl(7) cannot connect to host
whenver i try to connect to internet I get this error: curl(7) cannot connect to host.
I am a student and hence access internet through proxy. My proxy settings are: gateway: 10.24.0.1 Ip address: 10.24.1.11 dns : 10.25.0.4 netmask : 255.255.0.0 can anyone plz help me on this?? while my internet works fine in my firefox after I made the required settings. Moreover i also configured the system eth0 according to the above proxy requirements. |
those aren't proxy settings, they are network interface / route settings. If you want to make curl use a proxy. you can use the http_proxy environmental variable:
export http_proxy=http://my.proxy.example.com:8080 curl htp://website.com |
Quote:
V |
Why? That's irrelevant. a cannot connect to host error is about as bog standard and generic (and not its fault at all) as curl can get.
|
All times are GMT -5. The time now is 05:10 PM. |