Portal Home > Knowledgebase > Articles Database > cURL submission help - Urgent


cURL submission help - Urgent




Posted by creativeartist, 09-04-2007, 02:32 AM
Hi, I am facing an error while using cURL. $webservice_url = "http://newsrss.bbc.co.uk/rss/newsonl...siness/rss.xml"; curl_setopt( $ch, CURLOPT_URL, $webservice_url ); curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 ); curl_setopt( $ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt( $ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt( $ch, CURLOPT_TIMEOUT,15); curl_setopt( $ch, CURLOPT_PORT, 80); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); We are working from an intranet that is behind a firewall. we tried using the proxy that is used in our intranet curl_setopt($ch, CURLOPT_PROXY, '192.168.21.5:80'); curl_setopt($ch, CURLOPT_PROXYUSERPWD, 'webuser:pass'); but still it is saying 7, couldn't connect to host Any help would be greatly appreciated.

Posted by tanfwc, 09-04-2007, 02:59 AM
have you checked the firewall installed on your web server?

Posted by creativeartist, 09-04-2007, 04:49 AM
I donot know about the firewall setups.My machine works from a main server which have 300 + work stations.So we are not getting firewall settings. This application works from a public internet machine.It is having problem with our intranet.How can we solve the issue

Posted by Bangalore Job Mob, 09-04-2007, 02:58 PM
Can you load that URL in an actual web browser from your intranet?



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read