2

How to reconfigure standard Mac OS X FTP server to run on another port? For example 2021 instead of 21?

1 Answer 1

0

According to the man page, you need to change the port number in /etc/services from 21 to 2021.

Once you've made the change, just stop/start the service in System Preferences.

2
  • You may also need to to restart the ftp daemon for it to take effect : In Terminal --> run "launchctl stop com.apple.ftpd" ** then run ** "launchctl start com.apple.ftpd"
    – CaseyIT
    Apr 6, 2010 at 11:34
  • launchctl stop com.apple.ftpd does not work. You need to do a: launchctl unload -w /System/Library/LaunchDaemons/ftp.plist and then a launchctl load -w /System/Library/LaunchDaemons/ftp.plist to stop/start the FTP (at least in OS X 10.12). (the 1st is "unload" & the 2nd is "load")
    – Gik
    Aug 5, 2018 at 16:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .