Changing NX port number from 4000 to 80

Forum / NoMachine for Linux / Changing NX port number from 4000 to 80

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3598
    shashi
    Participant

    Hi,

    Running NX 4 (nomachine_4.2.22_1_x86_64.rpm) on RHEL6.4 64-bit.  The client is Windows 7-64bit (nomachine_4.2.22_1.exe).

    I wanted to change the NX default port number from 4000 to 80.

    I set the parameter NXPort to 80 in /usr/NX/etc/server.cfg, and restarted the services, but the service is not coming up on port number 80 or any other.

    In the /usr/NX/var/log/nxd.log file the bellow messages are logged.  Can someone please help me how to resolve this issue.

    25491 25494 13:10:53 382.913 TcpListener/TcpListener: ERROR! Can’t bind the socket for proto ‘TCP’.

    25491 25493 13:10:53 382.933 TcpListener/TcpListener: ERROR! In method ‘startTcp()’ context [B].

    25491 25494 13:10:53 382.947 TcpListener/TcpListener: ERROR! In method ‘startTcp()’ context [B].

    25491 25494 13:10:53 382.978 TcpListener/TcpListener: ERROR! Error is 13 ‘Permission denied’.

    25491 25493 13:10:53 382.989 TcpListener/TcpListener: ERROR! Error is 13 ‘Permission denied’.

    Error: Can’t bind the socket for proto ‘TCP’.

    Error: Can’t bind the socket for proto ‘TCP’.

    Error: Error 13 ‘Permission denied’.

    Error: Error 13 ‘Permission denied’.

     

    Thanks & Regards,

    Shashi Kanth.

    #3616
    reza
    Participant

    NX port should be higher then 1024. Ports below 1024 are reserved for applications run as root. NX daemon instead works as unprivileged nx user. If you really need to access NX on port 80 you can always start as root a port forwarding application to forward port 80 to 4000.

Viewing 2 posts - 1 through 2 (of 2 total)

This topic was marked as solved, you can't post.