We’ve checked that NoMachine works with this particular software out-of-the-box. Make sure that the TS is running on both your devices (see this other topic for brief steps https://forum.nomachine.com/topic/after-restart-can-no-longer-connect#post-46487).
One thing to bear in mind, SSH connections are not possible if you are using the free NoMachine product. For SSH connections, you could try, for example, Enterprise Desktop, it’s available to download and provides 30 days evaluation.
Can you submit a screenshot of what you see when you try to connect with NoMachine when TS is enabled?