{"id":149,"date":"2025-08-21T00:00:00","date_gmt":"2025-08-21T00:00:00","guid":{"rendered":"https:\/\/bodhost.com\/kb\/\/web-hosting\/?p=149"},"modified":"2026-02-26T14:02:07","modified_gmt":"2026-02-26T14:02:07","slug":"rsync-failed-to-connect-cpanel","status":"publish","type":"post","link":"https:\/\/www.bodhost.com\/kb\/rsync-failed-to-connect-cpanel\/","title":{"rendered":"Fix rsync Failed to Connect to cPanel Error"},"content":{"rendered":"\r\n<h3>Introduction:<\/h3>\r\n<p class=\"wp-block-paragraph\">When updating cPanel with \/scripts\/updatenow, you may encounter the <strong data-start=\"488\" data-end=\"527\">\u201c<\/strong>rsync failed to connect to cPanel<strong data-start=\"488\" data-end=\"527\">\u201d<\/strong> error:<\/p>\r\n<blockquote>\r\n<p>rsync: failed to connect to rsync.cpanel.net: No route to host<\/p>\r\n<\/blockquote>\r\n<p>This happens when firewall rules block cPanel update ports. Here\u2019s how to fix it step by step.<\/p>\r\n<h3>Steps:<\/h3>\r\n<ol>\r\n<li>Run the update command to confirm the error:<br \/>\/scripts\/updatenow<\/li>\r\n<li>Allow outgoing connections through ports 2080\u20132099 in your firewall:<br \/>iptables -I INPUT -p tcp &#8211;dport 2080:2099 -j ACCEPT<br \/>iptables -I OUTPUT -p tcp &#8211;dport 2080:2099 -j ACCEPT<br \/>service iptables save<br \/>service iptables restart<\/li>\r\n<li>Run the following commands as root to refresh cPanel:<br \/>\/usr\/local\/cpanel\/cpkeyclt<br \/>rm -f \/usr\/local\/cpanel\/cpanel<br \/>\/scripts\/upcp<\/li>\r\n<li>Verify the update again with:<br \/>\/scripts\/updatenow<\/li>\r\n<\/ol>\r\n<h4><br \/>Pro Tip:<\/h4>\r\n<p>Always keep firewall rules updated and ensure cPanel ports (2080\u20132099) remain open to avoid future sync failures. Regular updates help maintain server security and performance.<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Introduction: When updating cPanel with \/scripts\/updatenow, you may encounter the \u201crsync failed to connect to cPanel\u201d error: rsync: failed to connect to rsync.cpanel.net: No route to host This happens when&hellip;<\/p>\n<p><a href=\"https:\/\/www.bodhost.com\/kb\/rsync-failed-to-connect-cpanel\/\" class=\"more-link\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[666],"tags":[602,1170],"class_list":["post-149","post","type-post","status-publish","format-standard","hentry","category-general","tag-rsync","tag-updating"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Fix rsync Failed to Connect to cPanel Error | Guide<\/title>\n<meta name=\"description\" content=\"Learn how to fix the \u201crsync failed to connect to cPanel\u201d error by opening ports and running update commands. Quick Troubleshoot guide.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bodhost.com\/kb\/rsync-failed-to-connect-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Fix rsync Failed to Connect to cPanel Error | Guide\" \/>\n<meta property=\"og:description\" content=\"Learn how to fix the \u201crsync failed to connect to cPanel\u201d error by opening ports and running update commands. Quick Troubleshoot guide.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bodhost.com\/kb\/rsync-failed-to-connect-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - bodHOST\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-21T00:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-26T14:02:07+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/rsync-failed-to-connect-cpanel\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/rsync-failed-to-connect-cpanel\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/c48414ad1536cea20e85282b0737a9f9\"},\"headline\":\"Fix rsync Failed to Connect to cPanel Error\",\"datePublished\":\"2025-08-21T00:00:00+00:00\",\"dateModified\":\"2026-02-26T14:02:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/rsync-failed-to-connect-cpanel\\\/\"},\"wordCount\":147,\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"keywords\":[\"Rsync\",\"Updating\"],\"articleSection\":[\"General Discussion\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/rsync-failed-to-connect-cpanel\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/rsync-failed-to-connect-cpanel\\\/\",\"name\":\"Fix rsync Failed to Connect to cPanel Error | Guide\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\"},\"datePublished\":\"2025-08-21T00:00:00+00:00\",\"dateModified\":\"2026-02-26T14:02:07+00:00\",\"description\":\"Learn how to fix the \u201crsync failed to connect to cPanel\u201d error by opening ports and running update commands. Quick Troubleshoot guide.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/rsync-failed-to-connect-cpanel\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/rsync-failed-to-connect-cpanel\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/rsync-failed-to-connect-cpanel\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"General Discussion\",\"item\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/category\\\/general\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Fix rsync Failed to Connect to cPanel Error\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"alternateName\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"contentUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"width\":240,\"height\":240,\"caption\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/c48414ad1536cea20e85282b0737a9f9\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Fix rsync Failed to Connect to cPanel Error | Guide","description":"Learn how to fix the \u201crsync failed to connect to cPanel\u201d error by opening ports and running update commands. Quick Troubleshoot guide.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bodhost.com\/kb\/rsync-failed-to-connect-cpanel\/","og_locale":"en_US","og_type":"article","og_title":"Fix rsync Failed to Connect to cPanel Error | Guide","og_description":"Learn how to fix the \u201crsync failed to connect to cPanel\u201d error by opening ports and running update commands. Quick Troubleshoot guide.","og_url":"https:\/\/www.bodhost.com\/kb\/rsync-failed-to-connect-cpanel\/","og_site_name":"Knowledge Base - bodHOST","article_published_time":"2025-08-21T00:00:00+00:00","article_modified_time":"2026-02-26T14:02:07+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bodhost.com\/kb\/rsync-failed-to-connect-cpanel\/#article","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/rsync-failed-to-connect-cpanel\/"},"author":{"name":"admin","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/c48414ad1536cea20e85282b0737a9f9"},"headline":"Fix rsync Failed to Connect to cPanel Error","datePublished":"2025-08-21T00:00:00+00:00","dateModified":"2026-02-26T14:02:07+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/rsync-failed-to-connect-cpanel\/"},"wordCount":147,"publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"keywords":["Rsync","Updating"],"articleSection":["General Discussion"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.bodhost.com\/kb\/rsync-failed-to-connect-cpanel\/","url":"https:\/\/www.bodhost.com\/kb\/rsync-failed-to-connect-cpanel\/","name":"Fix rsync Failed to Connect to cPanel Error | Guide","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/#website"},"datePublished":"2025-08-21T00:00:00+00:00","dateModified":"2026-02-26T14:02:07+00:00","description":"Learn how to fix the \u201crsync failed to connect to cPanel\u201d error by opening ports and running update commands. Quick Troubleshoot guide.","breadcrumb":{"@id":"https:\/\/www.bodhost.com\/kb\/rsync-failed-to-connect-cpanel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bodhost.com\/kb\/rsync-failed-to-connect-cpanel\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.bodhost.com\/kb\/rsync-failed-to-connect-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"General Discussion","item":"https:\/\/www.bodhost.com\/kb\/category\/general\/"},{"@type":"ListItem","position":2,"name":"Fix rsync Failed to Connect to cPanel Error"}]},{"@type":"WebSite","@id":"https:\/\/www.bodhost.com\/kb\/#website","url":"https:\/\/www.bodhost.com\/kb\/","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","description":"","publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"alternateName":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bodhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.bodhost.com\/kb\/#organization","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","url":"https:\/\/www.bodhost.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","contentUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","width":240,"height":240,"caption":"Web Hosting Knowledge Base | bodHOST Hosting FAQ"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/c48414ad1536cea20e85282b0737a9f9","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/www.bodhost.com\/kb\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/comments?post=149"}],"version-history":[{"count":6,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/149\/revisions"}],"predecessor-version":[{"id":14452,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/149\/revisions\/14452"}],"wp:attachment":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/media?parent=149"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/categories?post=149"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/tags?post=149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}