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.
- Open a terminal.
Type the following command to obtain the machine's hostname:
$ echo $HOSTNAME
The command will output the machine's name followed by the suffix .local, for example:
Set the hostname to the same name, but without the .local suffix, with the following command:
$ sudo scutil --set HostName this-machine-name
Reboot the machine.
From now on, your machine will no longer append .local to its hostname.