skip to Main Content

Curl error: Failed to connect to ipaddress port 8080 – CPanel

problem Curl error: Failed to connect to 103.16.101.52 port 8080: Connection refusedresource(4) of type (mysql result) code snippets works in localsystem. it's not working prod enviornment. php curl snippet try { $runfile = 'http://103.16.101.52:8080/sendsms/bulksms?username=XXX&password=XXX&type=0&dlr=1&destination='. $row['phone_number'] . '&source=XXX&message='.$message; $ch = curl_init();…

VIEW QUESTION

FacebookAdsExceptionException: Connection timed out after 10000 milliseconds – Facebook api

I have a cron job that pulls data from Facebook very frequently all day long. Many times per day, I get an error like this one: FacebookAdsExceptionException: Connection timed out after 10001 milliseconds in /vendor/facebook/php-ads-sdk/src/FacebookAds/Http/Adapter/CurlAdapter.php:196 Stack trace: #0 /vendor/facebook/php-ads-sdk/src/FacebookAds/Http/Client.php(204): FacebookAdsHttpAdapterCurlAdapter->sendRequest(Object(FacebookAdsHttpRequest))…

VIEW QUESTION
Back To Top
Search