On openSUSE 15.1, NoMachine doesn't print any message when it can' t resolve localhost.
It should instead inform about the problem and possible solutions:
NX> 500 ERROR: Cannot start NoMachine server. Resolve ‘localhost’ is
NX> 500 ERROR: not possible. Please check settings in the system
NX> 500 ERROR: hosts file or contact your system administrator.