{"id":30,"date":"2015-04-27T08:40:51","date_gmt":"2015-04-27T08:40:51","guid":{"rendered":"http:\/\/betakb.veeble.org\/?p=30"},"modified":"2025-04-30T10:38:29","modified_gmt":"2025-04-30T05:08:29","slug":"change-ftp-port","status":"publish","type":"post","link":"https:\/\/www.veeble.com\/kb\/change-ftp-port\/","title":{"rendered":"Change FTP port"},"content":{"rendered":"<div id=\"mw-content-text\" class=\"mw-content-ltr\" dir=\"ltr\" lang=\"en\">\n<p>This article helps you to change the FTP port in a cPanel server.<\/p>\n<h2><span id=\"Pure-FTP\" class=\"mw-headline\">Pure-FTP<\/span><\/h2>\n<p>1) Edit <i><b>\/etc\/pure-ftpd.conf<\/b><\/i> and look for the following line:<\/p>\n<pre>Bind addr port\n<\/pre>\n<p>Where addr is a publically routable IP. The default example, 127.0.0.1, will cause the socket to bind locally but then this connection won\u2019t serve externally. port is the new port you wish to put the service on.<\/p>\n<p>2) If necessary, add the new FTP port to your server\u2019s firewall.<\/p>\n<p>3) Edit <i><b>\/etc\/chkserv.d\/ftpd<\/b><\/i> and change the port, which is the first comma-separated entry to the right of \u2018=\u2019 on the line in the file, to match the port you put the service on.<\/p>\n<p>Then restart FTP service as follows:<\/p>\n<pre>\/etc\/init.d\/pure-ftpd restart\n\/etc\/init.d\/cpanel restart (restarts tailwatchd\/chkservd)\n<\/pre>\n<h2><span id=\"ProFTP\" class=\"mw-headline\">ProFTP<\/span><\/h2>\n<p>Edit <i><b>\/etc\/proftpd.conf<\/b><\/i> and change:<\/p>\n<pre>Port 21\n<\/pre>\n<p>Then restart FTP service as follows:<\/p>\n<pre>\/etc\/init.d\/proftpd start\n\/etc\/init.d\/cpanel restart (restarts tailwatchd\/chkservd) \n<\/pre>\n<p>Where addr is a publically routable IP. The default example, 127.0.0.1, will cause the socket to bind locally but then this connection won\u2019t serve externally. port is the new port you wish to put the service on.<\/p>\n<\/div>\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-uagb-call-to-action uagb-block-b4fa10cf wp-block-button\"><div class=\"uagb-cta__wrap\"><h3 class=\"uagb-cta__title\"><strong>AWS Made Effortless: Migrate, Optimize, Scale \u2013 All Hands-Off!<\/strong><\/h3><p class=\"uagb-cta__desc\">Why stress over AWS compliance and uptime? We guarantee 99.99% availability, DDoS protection, and audit-ready infrastructure. Focus on growth, not checklists. Talk to an expert!<\/p><\/div><div class=\"uagb-cta__buttons\"><a href=\"https:\/\/www.veeble.com\/in\/managed-aws-hosting\/\" class=\"uagb-cta__button-link-wrapper wp-block-button__link\" target=\"_blank\" rel=\"noopener noreferrer\">Get Started Now<svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\"><path d=\"M504.3 273.6l-112.1 104c-6.992 6.484-17.18 8.218-25.94 4.406c-8.758-3.812-14.42-12.45-14.42-21.1L351.9 288H32C14.33 288 .0002 273.7 .0002 255.1S14.33 224 32 224h319.9l0-72c0-9.547 5.66-18.19 14.42-22c8.754-3.809 18.95-2.075 25.94 4.41l112.1 104C514.6 247.9 514.6 264.1 504.3 273.6z\"><\/path><\/svg><\/a><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>This article helps you to change the FTP port in a cPanel server. Pure-FTP 1) Edit \/etc\/pure-ftpd.conf and look for the following line: Bind [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":8794,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[4],"tags":[],"class_list":["post-30","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cpanel"],"uagb_featured_image_src":{"full":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2015\/04\/Change-FTP-port.jpg",1366,768,false],"thumbnail":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2015\/04\/Change-FTP-port-150x150.jpg",150,150,true],"medium":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2015\/04\/Change-FTP-port-300x169.jpg",300,169,true],"medium_large":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2015\/04\/Change-FTP-port-768x432.jpg",768,432,true],"large":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2015\/04\/Change-FTP-port-1024x576.jpg",1024,576,true],"1536x1536":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2015\/04\/Change-FTP-port.jpg",1366,768,false],"2048x2048":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2015\/04\/Change-FTP-port.jpg",1366,768,false]},"uagb_author_info":{"display_name":"Vipin Raj","author_link":"https:\/\/www.veeble.com\/kb\/author\/vipin\/"},"uagb_comment_info":0,"uagb_excerpt":"This article helps you to change the FTP port in a cPanel server. Pure-FTP 1) Edit \/etc\/pure-ftpd.conf and look for the following line: Bind [&hellip;]","_links":{"self":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts\/30","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/comments?post=30"}],"version-history":[{"count":2,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts\/30\/revisions"}],"predecessor-version":[{"id":8275,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts\/30\/revisions\/8275"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/media\/8794"}],"wp:attachment":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/media?parent=30"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/categories?post=30"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/tags?post=30"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}