{"id":2139,"date":"2015-04-12T19:23:32","date_gmt":"2015-04-12T19:23:32","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=2139"},"modified":"2015-04-12T19:23:32","modified_gmt":"2015-04-12T19:23:32","slug":"error-the-data-connection-could-not-be-established-etimedout-connection-attempt-timed-out","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2015\/04\/12\/error-the-data-connection-could-not-be-established-etimedout-connection-attempt-timed-out\/","title":{"rendered":"FTP Error: The data connection could not be established: ETIMEDOUT &#8211; Connection attempt timed out"},"content":{"rendered":"<p>When using ftp to access the server, the following error logs:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# Error: The data connection could not be established: ETIMEDOUT - Connection attempt timed out\n\n<\/pre>\n<p>If you are on a plesk server, Plesk has an article here: https:\/\/docs.plesk.com\/en-US\/onyx\/administrator-guide\/server-administration\/plesk-for-linux-configuring-passive-ftp-mode.74643\/<br \/>\nTo enable passive FTP mode in Plesk for Linux:<br \/>\nLog in to your server via SSH as the root user.<br \/>\nCreate the \/etc\/proftpd.d\/55-passive-ports.conf file, add the following lines to it, and then save the changes:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># nano \/etc\/proftpd.d\/55-passive-ports.conf\n<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nPassivePorts 49152 65535\n\n<\/pre>\n<p>Run the following command:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># systemctl restart xinetd\n\n<\/pre>\n<p>Now your Plesk server accepts passive FTP connections. If you have installed the Plesk Firewall and switched on its default configuration, you need to add a firewall rule allowing passive FTP:<\/p>\n<ol>\n<li>Direction: Incoming<\/li>\n<li>Action: Allow<\/li>\n<li>Ports: TCP 49152-65535<\/li>\n<li>Sources: (any host)<\/li>\n<\/ol>\n<p>Save and connect via ftp to test.<\/p>\n<p>Still having issues?<\/p>\n<p>Check is firewalld is loaded but not enabled? Try to start and then and stop firewalld service.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When using ftp to access the server, the following error logs: # Error: The data connection could not be established: ETIMEDOUT &#8211; Connection attempt timed out If you are on a plesk server, Plesk has an article here: https:\/\/docs.plesk.com\/en-US\/onyx\/administrator-guide\/server-administration\/plesk-for-linux-configuring-passive-ftp-mode.74643\/ To enable passive FTP mode in Plesk for Linux: Log in to your server via SSH &#8230; <a title=\"FTP Error: The data connection could not be established: ETIMEDOUT &#8211; Connection attempt timed out\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2015\/04\/12\/error-the-data-connection-could-not-be-established-etimedout-connection-attempt-timed-out\/\" aria-label=\"Read more about FTP Error: The data connection could not be established: ETIMEDOUT &#8211; Connection attempt timed out\">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":[42,86],"tags":[],"class_list":["post-2139","post","type-post","status-publish","format-standard","hentry","category-ftp","category-plesk"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/2139","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=2139"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/2139\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=2139"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=2139"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=2139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}