Very slow connection to CubeSQL server


I have a CubeSQL database on a local server which I’m connecting to from an app on two machines. The app on the same machine as the server works fine. On the other machine response time when reading or writing to the database is extremely slow: over 90 seconds! Sending an sql query from the cubeSQLadmin app on the ‘slow’ machine is effectively instantaneous. The same happens over wifi and ethernet.

Any help would be much appreciated.

Restarting the ‘slow’ computer has solved the problem.