Connection to machine (a Raspberry Pi) on local network fails

Hi!


My M1 MacBook Air keeps getting "Connection Failed" when reconnecting to a local machine on my network.


I keep forgetting to log out before taking my MacBook with me, and when I return the local machine shows up in the "Networks" folder, but I cannot connect to it or remove it.


Anybody else having this issue?

MacBook Air 13″, macOS 13.0

Posted on Jan 20, 2023 12:42 PM

Reply

Similar questions

1 reply

Jan 22, 2023 06:46 PM in response to Snorre Svendsen

Hello Snorre Svendsen,


Thank you for reaching out to Apple Support Communities, and we'll be happy to help in any way we can. We understand you're having issues with connecting to a network drive on your Mac. Try the steps here to see if they resolve the issue: Connect your Mac to shared computers and servers - Apple Support


"Connect your Mac to shared computers and servers

You can connect to shared computers and file servers on your network, including Mac and Windows computers that have file sharing turned on, and servers that use protocols such as SMB.

You can connect by either browsing or entering the computer’s or server’s network address. See Find your computer’s name and network address.

Connect to a computer or server by browsing

  1. On your Mac, click the Finder icon  in the Dock to open a Finder window, then click Network in the Locations section of the sidebar.
  2. If no items appear in the Locations section of the sidebar, hold the pointer over the word Locations, then click the arrow .
  3. In the Finder window, double-click the computer you want to connect to, then click Connect As.
  4. If you’re connecting to a Mac that has screen sharing turned on, and you have the appropriate privileges, you can also click Share Screen.
  5. Select how you want to connect to the Mac:
    • Guest: You can connect as a Guest user if the shared computer permits guest access.
    • Registered User: Connect to the other Mac using a valid login name and password. If “Only these users” is selected on the other Mac, make sure the login name you’re using is on the list of allowed users.
    • Using an Apple ID: Connect to the other Mac using an Apple ID. You must be set up in Users & Groups settings with this Apple ID, on both this Mac and the other Mac.
  1. If necessary, enter your user name and password, then select volumes or shared folders on the server.
  2. In some cases you need the network area or workgroup for the shared computer. If you don’t have this information, contact the computer’s owner or your network administrator.
  3. Tip: To make it easier to connect to the computer in the future, select “Remember this password in my keychain” to add your user name and password for the computer to your Keychain.

Connect to a computer or server by entering its address

  1. In the Finder  on your Mac, choose Go > Connect to Server.
  2. Type the network address for the computer or server in the Server Address field.
  3. For information about the correct format for network addresses, see Network address formats and protocols.
  4. Click Connect.
  5. Select how you want to connect to the Mac:
    • Guest: You can connect as a Guest user if the shared computer permits guest access.
    • Registered User: Connect to the other Mac using a valid login name and password. If “Only these users” is selected on the other Mac, make sure the login name you’re using is on the list of allowed users.
    • Using an Apple ID: Connect to the other Mac using an Apple ID. You must be set up in Users & Groups settings with this Apple ID, on both this Mac and the other Mac.
  1. If necessary, enter your user name and password, then select the server volumes or shared folders.
  2. To make it easier to connect to the computer in the future, select “Remember this password in my keychain” to add your user name and password for the computer to your keychain.

Reconnect to recent servers

Here are some ways to make it easy to reconnect to shared computers and servers you frequently use:

On your Mac, do any of the following:

  • Choose Apple menu  > Recent Items, then choose from the list of recent servers.
  • In the Finder , choose Go > Connect to Server, click the pop-up menu to the far right of the Server Address field, then choose a recent server.
  • Add shared computers, network areas, and workgroups to the Finder sidebar. Select the item, then choose File > Add To Sidebar.
  • Add a shared computer or server to your list of favorites. In the Finder, choose Go > Connect to Server, enter the network address, then click the Add button .

If you can’t locate a shared computer or server or connect to it, it may not be available, or you may not have permission to connect to it. Contact the person who owns the computer or the network administrator for help.


See also

Find your computer’s name and network address on Mac

Set up file sharing on Mac

Turn Mac screen sharing on or off

Allow a remote computer to access your Mac

If your Mac can’t connect to another computer"


We hope this helps.


Cheers!


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Connection to machine (a Raspberry Pi) on local network fails

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.