kusspuss, the advice you were provided above is for the machine you want to connect to. We assumed you were trying to connect to a Linux VPS, so we gave you some tips to help you set up your Linux VM.
If i want to connect to Linux vps than how can I do that?
Can we ask what VPS you are using? We might be able to give you more precise instructions.
If you are not in control of the machine or VM you want to connect to, then you need to check with the administrator of that machine what the IP address is and check with them that the right port is open. Then from your Windows client (the computer you are connecting from) you should use that information to connect (like in the Getting started guide here: https://www.nomachine.com/getting-started-with-nomachine#internet, see fig. 8).
I suggest that you are clearer about the computer you want to connect to. We understand that you are using Windows as the connecting client, but what’s the OS you want to connect to? Have you installed NoMachine on it?