{"id":4603,"date":"2018-09-14T23:01:14","date_gmt":"2018-09-14T23:01:14","guid":{"rendered":"https:\/\/geekdecoder.com\/?p=4603"},"modified":"2018-09-14T23:01:14","modified_gmt":"2018-09-14T23:01:14","slug":"curl-error-when-updating-wordpress-behind-firewall-error-message-curl-error-28-connection-timed-out-after-10001-milliseconds","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2018\/09\/14\/curl-error-when-updating-wordpress-behind-firewall-error-message-curl-error-28-connection-timed-out-after-10001-milliseconds\/","title":{"rendered":"Curl Error When updating WordPress behind firewall: Error message: cURL error 28: Connection timed out after 10001 milliseconds"},"content":{"rendered":"<p>When updating wordpress, this error appears:<br \/>\nError message: cURL error 28: Connection timed out after 10001 milliseconds<\/p>\n<p>Resolution: Curl the site with the private IP and not the public IP. From inside the private network each server or device is known only by it&#8217;s private IP address and is always referenced using that address. <\/p>\n<p>Ref: https:\/\/www.the-art-of-web.com\/system\/iptables-nat\/<\/p>\n<p>Also, on cpanel that is behind a firewall, you can check the file for the mappings:\/var\/cpanel\/cpnat<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When updating wordpress, this error appears: Error message: cURL error 28: Connection timed out after 10001 milliseconds Resolution: Curl the site with the private IP and not the public IP. From inside the private network each server or device is known only by it&#8217;s private IP address and is always referenced using that address. Ref: &#8230; <a title=\"Curl Error When updating WordPress behind firewall: Error message: cURL error 28: Connection timed out after 10001 milliseconds\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2018\/09\/14\/curl-error-when-updating-wordpress-behind-firewall-error-message-curl-error-28-connection-timed-out-after-10001-milliseconds\/\" aria-label=\"Read more about Curl Error When updating WordPress behind firewall: Error message: cURL error 28: Connection timed out after 10001 milliseconds\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20,23],"tags":[],"class_list":["post-4603","post","type-post","status-publish","format-standard","hentry","category-cpanel","category-curl"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/4603","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=4603"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/4603\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=4603"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=4603"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=4603"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}