Could not connect to the server. Error is 22: Invalid argument

Forum / NoMachine for Windows / Could not connect to the server. Error is 22: Invalid argument

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9275
    bLuNt_wAcO
    Participant

    Hi all,

    I’m new to NoMachine. I’m running latest client on Macbook pro and NX server on Windows server 2008. I’m able to connect using password but not using private key.

    I get this error message:

    Could not connect to the server.
    Error is 22: Invalid argument

    I did the port forwarding on airport utility (see attached photo).
    I disabled UDP but same problem. I disabled windows firewall but same problem.

    Please help.

    #9295
    Haven
    Participant

    Hello bLuNt_wAcO,
    We need more information to investigate further.

    Please gather logs from client side (Mac OS X):
    https://www.nomachine.com/DT04M00076#6
    and on the server side (Windows):
    https://www.nomachine.com/DT04M00076#3

    Send them to forum[at]nomachine[dot]com making sure to reference the topic in your email.

    Did you follow instructions in the article to set up key based authentication with NX protocol?
    https://www.nomachine.com/AR02L00785

    Especially did you add key properly to the file:
    <user's home>/.nx/config/authorized.crt
    on Windows server properly.

    What’s your NoMachine version on server?

    Are you using domain user to login to Windows (in both cases)?

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

Closed because the user did not provide further feedback. Please notify us if you confirm that it is resolved or open a new topic if you have the same problem.