MacOS – AFP File Sharing not Working

macos

I am having trouble with AFP Sharing a backup drive from one computer to another. Yesterday it was working fine and today it's not. I don't think any settings have changed since yesterday. When I try to connect via AFP in the Finder, I get this message

The server "192.168.1.6" may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection, and then try again.

I have used ping on both computers to make sure the LAN is working, and it is. Any suggestions?

Best Answer

Disable IPv6 and WiFi. Plug both in via Ethernet. Verify your targets IP. Turn AFP and all other sharing settings off on the target, and wait for it to disappear from the sidebar on the machine you're connecting from. Then re-enable AFP sharing on the target, and see it come back on the source.

Ping the IP, or even the name (foo.local if the computer's name is foo). Try connecting by clicking on it from the sidebar - failing that try using the Go menu (connect to server) and putting in a URL in the format afp://<name or IP here>.

Let us know how it goes.

EDIT: then, once that works properly, change one thing at a time. Enable WiFi on one machine and remove the ethernet cable. Then test. Then do the same on the other machin, and test. Then enable IPv6 on one.. test. Then the other. Etc, until you've worked your way back to how you want your machines to be set up. This can also help us isolate where the problem is happening (if you re-enable WiFi and sharing stops working...)