Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried to use mount_afp afp://user:111@ ~/Documents to mount the ~/Documents folder to the shared folder, but it shows the error like below:

mount_afp: AFPMountURL returned error 62, errno is 62

What am I doing wrong?

share|improve this question

migrated from May 14 '12 at 2:13

This question came from our site for professional and enthusiast programmers.

I don't think Mac OS X allows you to connect to your own machine for AFP mounts. For example, if you go to the Finder, select Go > Connect to Server, and type "afp://localhost", it puts up a dialog saying:

Connection Failed
The server "localhost" is available on your computer. Access the volumes and files locally.

share|improve this answer

Not exactly a solution to your problem, but I suggest you to create alias instead.

It's doing exactly what you wanted to do.

But if you still want to afp to local machine, read here.

It involves creating a SSH tunnel to trick OS X of connecting to another machine while it's just localhost.

ssh -L 1548:localhost:548 mypowerbook.local

1548 is the fake port, and mypowerbook.local is your machine's host name. You do need root for this.

Then connect to the afp server with "localhost:1548", and it should work.

But, it's an outdated post, I'm not sure if it will work. Anyway, good luck!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.