SSH on a Mac mini may block a local database connection

A Mac mini used as a can fail to reach another database server on the same when the project is started through SSH. The project is a Node.js app connecting to a database at an address like 192.168.1.123.

The same connection works from the Mac mini’s normal desktop terminal, but it fails from an SSH session with an error. On macOS 26, commands started through SSH may be treated differently from commands started in the normal terminal for access.

The privacy and security settings do not appear to offer an easy way to add sshd to the allow list. The practical issue is how to let remote SSH development sessions reach other machines on the same network.

Key points

  • A Node.js app run over SSH cannot connect to a database on the .
  • The same database connection works from the Mac mini’s normal desktop terminal.
  • The error is , meaning the target server cannot be reached over the network path being used.
  • macOS 26 settings do not seem to make it easy to add sshd to the allow list.
  • owners should test network access from SSH, not only from the desktop terminal.
Read original