I am using NoMachine in Windows to connect my Ubuntu, it works well if my Windows laptop is at home, just beside my and Ubuntu desktop.
However, when I bring my Windows laptop to office, it always fails and reports such a connection issue.
Here is the log:
Info: Starting NoMachine version 6.7.6.
Info: Loading settings from ‘C:\Users\Hao\.nx\config\player.cfg’.
Info: Loaded translation files for ‘English’.
21860 15744 11:52:01 746.387 Main: Creating the client session.
21860 15744 11:52:01 746.387 ClientSession: Initializing session at 0x00c6d830.
21860 15744 11:52:02 012.677 ClientSession: Initialized session at 0x00c6d830.
21860 15744 11:52:02 084.483 Main: Entering the GUI event loop.
Info: Slave server running with pid 20260.
Info: Listening to slave connections on port 27357.
21860 15744 11:52:07 189.196 ClientSession: Starting session at 0x00c6d830.
21860 15744 11:52:07 189.196 ClientSession: Going to start session ‘C:\Users\Hao\Documents\NoMachine\Connection to 192.168.0.16.nxs’.
21860 15744 11:52:07 215.126 Connection: Initializing connection at 0x05594560.
21860 15744 11:52:07 216.125 Connection: Initialized connection at 0x05594560.
21860 15744 11:52:07 216.125 Connection: Starting connection at 0x05594560.
21860 15744 11:52:07 216.125 ClientDaemonConnector: Starting a new connection to host ‘192.168.0.16’ on port ‘4000’.
21860 15744 11:52:07 216.125 Connection: Started connection at 0x05594560.
21860 15744 11:52:07 223.106 ClientSession: Started session at 0x00c6d830.
21860 19172 11:52:10 595.048 ClientUpnp: WARNING! Mapping of port ‘4282’ failed after ‘8511’ ms.
21860 19172 11:52:18 578.814 ClientUpnp: WARNING! Mapping of port ‘4282’ failed after ‘7984’ ms.
21860 15744 11:52:37 218.424 Connection: Connection at 0x05594560 failed.
21860 15744 11:52:37 218.424 ClientSession: Runnable at 0x05594560 caused the session at 0x00c6d830 to fail.
21860 15744 11:52:37 218.424 ClientSession: Failing reason is ‘A connection timeout has occurred while trying to connect to ‘192.168.0.16’ 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.’.
21860 15744 11:52:37 240.406 ClientSession: Stopping session at 0x00c6d830.
21860 15744 11:52:37 257.319 Connection: Stopping connection at 0x05594560.
21860 15744 11:52:37 257.319 ClientDaemonConnector: Stopping the current connection.
Info: Slave server running with pid 8352.
21860 15744 11:52:37 257.319 Connection: Stopped connection at 0x05594560.
Info: Listening to slave connections on port 28456.
21860 15744 11:52:37 279.342 ClientSession: Stopped session at 0x00c6d830.