Encountered Error 60: Operation timed out when trying to connect to Centos 6.7

Forum / NoMachine for Linux / Encountered Error 60: Operation timed out when trying to connect to Centos 6.7

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #16353
    kpsimonlin
    Participant

    Greeting,

    I was trying to connect to a server running in Centos 6.7 using NoMachine 5.3.12 client on my macOS (10.12.6). The NoMachine server version on the Centos is also 5.3.12, I installed it on the command line via SSH.

    The connection encountered an error: Could not connect to the server. Error is 60: Operation timed out

    I’ve checked the firewall, the TCP port 4000 should be opened. I also restarted the NoMachine server several times, it didn’t work.

    The log file is in the attachment, I appreciate any help.

    #16364
    kroy
    Contributor

    We didn’t receive any logs. Is nxserver is running after restart? Can you enable debug, restart nxserver (sudo /etc/NX/nxserver –restart), reproduce problem, collect logs from server and client side and send them to forum[at]nomachine[dot]com? Instructions about debug and collecting logs you can find there: https://www.nomachine.com/DT07M00098.

    #16380
    kpsimonlin
    Participant

    Hello,

    The information returned after restarting the NoMachine server is in the attachment.

    I’ve collected the log from client side and server side, the log files are also in the attachment if I uploaded them correctly. Not sure how to send them to forum[at]nomachine[dot]com, if the attachments don’t work can I send them via email?

    Thanks a lot!

    #16402
    Britgirl
    Keymaster

    forum[at]nomachine[dot]com

     

    This is the email address. Replace the [at] with the usual email address symbol and a ‘.’ before the ‘com’. Anyway, we’ll take a look at what you sent. Thanks.

    #16419
    kroy
    Contributor

    It looks that port 4000 is already used on server host. You need to change port for that program or change port for the NoMachine. Here is information about default ports used by NoMachine: https://www.nomachine.com/AR01L00770. To change NX Port click nxclient monitor on tray -> Show the server status -> Server preferences -> choose NX service, click Configure and change the port. After that restart nxserver.

    #16445
    kpsimonlin
    Participant

    Hi,

    I set the port to 4001 by changing “#NXPort 4000” to “NXPort 4001” in /usr/NX/etc/server.cfg (not sure if I was doing it right) and restart the server. The connection still fails, I’ve sent the logs to you.

    Thanks.

    #17104
    Britgirl
    Keymaster

    In the logs we see:

    2017-11-16 03:10:52 591.999 12555 NXNODE   NXTryBindLocal for port: 4001 return: -1
    2017-11-16 03:10:52 592.047 12555 NXNODE   tcp port ‘4001’ is used by another application

    Try allocating a different port.

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

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