Forum / NoMachine for Linux / Encountered Error 60: Operation timed out when trying to connect to Centos 6.7
- This topic has 6 replies, 3 voices, and was last updated 7 years, 2 months ago by
Britgirl.
-
AuthorPosts
-
November 9, 2017 at 10:32 #16353
kpsimonlin
ParticipantGreeting,
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.
November 9, 2017 at 11:13 #16364kroy
ContributorWe 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.
November 10, 2017 at 13:54 #16380kpsimonlin
ParticipantHello,
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!
November 13, 2017 at 13:55 #16402Britgirl
Keymasterforum[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.
November 13, 2017 at 18:24 #16419kroy
ContributorIt 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.
November 15, 2017 at 15:56 #16445kpsimonlin
ParticipantHi,
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.
January 9, 2018 at 10:53 #17104Britgirl
KeymasterIn 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 applicationTry allocating a different port.
-
AuthorPosts
This topic was marked as solved, you can't post.