FTP + A Name on Lion

Discussion in 'Mac OS X Server, Xserve, and Networking' started by crimsontide165, May 24, 2012.

  1. macrumors member


    I need to be able to access my home mac from work via ftp. Currently I've turned on the ftp server in terminal:

    sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist

    Now it works well when I just use the local ip 192.168..., however on my airport extreme at home I've set it up port mapping and pointed a domain's a name record to it.

    However when I try to connect to it through the domain that it gives me "Server connection closed"

    Any help?
  2. macrumors 601

    Are you sure you're connecting to your system, as you likely have a dynamic IP? What ports did you forward?
  3. macrumors member


    I reserved a static ip for the mac and my public is static as well, 80 & 21


    I'm getting "Control connection timed out" now...
  4. macrumors 601

    Not sure why that's happening but it's definitely related to your port mapping.

    How about enabling ssh and using sftp? Same results and it all runs over TCP 22, instead of using high ports as well.
  5. macrumors member


    That did it, thanks man!
  6. r0k
    macrumors 68040


    Don't forget to shut off plain old ftp. Sftp still works. I have an app to manage ftpd linked in my sig. It's not a good idea to leave plain old ftp running all the time unless you need it (ie for an older camera or scanner that only knows how to ftp to send files to your Mac).

Share This Page