CURL returns connection time out

Hello there,

I have a private app using php to get Order details using Php CURL.

$variantvalue=“/admin/orders.json?name=”.$ordernum.“&status=any”;
$sc=$this->SetCredentials($shop);
$orderdata = $sc->call(‘GET’,$variantvalue);

I am getting CURL exception connection timed out. Curl default time out is set to 30 i changed it to 60, 90 still the same. This code was working up until yesterday. If i try to run same code from my local (localhost) connecting to shopify the CURL work fine. It is an issue from my app hosting server (Dream host).

Due to this my client could not use the app.

Any help appreciated.