The connection with the server was shut down

Forum / NoMachine Cloud Server Products / The connection with the server was shut down

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22556
    quntermer
    Participant

    This is weird – i am able to connect via SSH port but can’t via NX protocol port.

    but when i uses NX Viewer i can connect w/o problem.

    server.cfg

    Section “Server”

    Name “Connection to localhost”

    Host 127.0.0.1

    Protocol NX

    Port 5001 # this returns “The connection with the server was shut down”. client.crt requires port num?

    Authentication password

    EndSection

    Section “Server”

    Name “Connection to localhost with SSH”

    Host 127.0.0.1

    Protocol system

    Port 5002

    Authentication password

    EndSection

    I guess this is bug, since I was able to connect via default 4000 port.

    Or, Client.crt needs port num? idk why this is happening. Any help would be appreciated.

    #22578
    irek
    Participant

    Hello,

    If the NoMachine network daemon (nxd) is configured on the server to listen on a different port,
    it’s also necessary to update the client.crt file, on Linux /var/NX/nxhtd/.nx/config/client.crt, to have:

    Host:localhost 5001
    -----BEGIN CERTIFICATE-----
    (...)
    -----END CERTIFICATE-----
    Host:127.0.0.1 5001
    -----BEGIN CERTIFICATE-----
    (...)
    -----END CERTIFICATE-----

    You can find whole instruction in here:
    https://www.nomachine.com/AR06N00888

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

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