Can you verify if the IP of the CentOS server is reachable from your Windows client.
If yes, ssh to the server and check status of the NoMachine server using sudo /etc/NX/nxserver –status.
If server is disabled you can restart it by using command sudo /etc/NX/nxserver –restart
Yup I could ping it.
The restart of the service did it.
Thank you for the help it’s working just like it should.