Setting the Hostname for a Harmony Database Server on macOS

By default, macOS will append the suffix ".local" to the machine's hostname. For example, a machine with the hostname server will actually consider that its hostname is server.local. This may cause issues when creating a Harmony server, as the server will be configured to work with the hostname containing the .local suffix, but any machine that is not macOS based that tries to communicate with the server will need to do so using the machine's actual hostname, without the suffix.

To prevent any communication issues, it is best to override this behaviour by setting the machine's hostname in a terminal. The graphical configuration tools in macOS do not allow you to set your machine's hostname without adding the .local suffix to it.