Forum / NoMachine for Linux / Connection timeout issue connecting to Ubuntu
Tagged: Ubuntu; Windows; Connection
- This topic has 3 replies, 2 voices, and was last updated 1 week, 4 days ago by aevans0001.
-
AuthorPosts
-
October 12, 2024 at 21:12 #50178aevans0001Participant
Hi I recently started having issues connecting [removed] from Android or Windows to Ubuntu. I only have 1 Ubuntu machine.
The issue is either it doesn’t show up as online [removed] or the connection times out (NoMachine and [removed] ). This problem started in the last month and is the reason I found NoMachine. I am very happy and plan to use NoMachine exclusively but I need to find a solution. What is the best way to provide the info you need to help diagnose my issue. I am guessing it is a firewall issue but unknown.
October 15, 2024 at 23:38 #50248aevans0001ParticipantHere are my logs
October 21, 2024 at 11:30 #50341BritgirlKeymasterThe logs show ‘A connection timeout has occurred while trying to connect to ‘192.168.1.250’ on port ‘4000’. The issue could either be caused by a networking problem, by a firewall or NAT blocking incoming traffic or by a wrong server address. Please verify your configuration and try again.’.
That indicates a problem with your router, it could be a double NAT for example, or you have not enabled port forwarding correctly. Please take a look at the instructions here:
How to connect over the internet to NoMachine behind a NAT router
https://kb.nomachine.com/AR04S01122The need for network configuration when using NoMachine to access remote computers over the Internet will be removed when we release NoMachine Network in version 9 (coming soon). You can read more about this feature here: https://www.nomachine.com/network.
November 2, 2024 at 14:35 #50577aevans0001ParticipantSo I have now tried a different router and some other fixes and still can not log in. I am not trying to get to the ubuntu pc from outside my network, just from this pc to my ubuntu. I have tried to access it from multiple computers from inside and outside computers.
This is how i removed a different remote desktop service that created this issue (i believe)
sudo apt purge rus**** sudo rm -rf ~/.config/rus**** sudo rm -rf /root/.config/rus****
sudo rm -rf /root/.config/ru****
December 10, 2024 at 09:41 #51339BritgirlKeymasterI am not trying to get to the ubuntu pc from outside my network, just from this pc to my ubuntu.
It’s not clear how you are using NoMachine. Are you trying to connect to a NoMachine host on the same LAN as you, or over the Internet? It’s not clear from what you wrote previously. What I suggest you do is remove traces of other remote desktop products that you have installed. They could be interfering with NoMachine services and access to the ports that NoMachine requires in order to function correctly.
Then temporarily disable the firewall to see if it is that which is blocking the connection. On LAN you should be able to see the computer (pipe icon) you want to connect to in the NoMachine UI “Machines” panel provided you have “advertizing on the network” enabled on the server in the NoMachine server settings. Are you able to connect?
Edit, see this post from a user describing a similar issue https://forum.nomachine.com/topic/no-route-to-the-network-or-to-the-host#post-50575
-
AuthorPosts
You must be logged in to reply to this topic. Please login here.