How does the client find its server?

How does the client find its server?

Background

It may happen that the timeSensor Client no longer finds its server after an update, or that customers land on a test server on the same network when the productive server is turned off.This article discusses how 4D behaves in this regard.

Order



After starting the 4D client, it needs the IP address of the database server. 4D behaves at this point as follows:
  1. Pressed Alt key - Show connection dialog
  2. Read EnginedServer.4DLink - if a valid server address is entered, connect to the server
  3. Polling: the client searches in the current subnet to see if he finds a suitable server. If so, it automatically connects to the server
  4. read lastServer.xml: if nothing can be found in the subnet of the client, the client searches for the lastServer.xml file. The last server used is entered there - if a valid server address is entered, connect to the server
  5. Not a valid server found - Show connection dialog
This order causes the client to land on the wrong server after an update if the server broadcasts its address and no valid server is entered in the EnginedServer.4DLink file.

Workaround

Unfortunately, since we cannot change this behavior with programming measures at least at short notice, we would recommend that you stop broadcasting of test servers.
This is possible by blocking the UDP protocol on port 19813 in the firewall of the test server.
    • Related Articles

    • Client does not connect to the server

      Initial situation When starting the tSL client, theError messagethat you should contact the administrator. Explanation This is because the client could not connect to the server. Solution You can restore the connection to the server by starting the ...
    • How do I reload the client's resources?

      General Occasionally, issues with the timeSensor client may occur because the resources have not been correctly or fully loaded. In such cases, it is helpful to reload the resources. Procedure Mac: Hold down the Alt/Option key and click once or ...
    • My Client Loses its Connection to the Server. How Can I Find the Error?

      You need a perfect connection to your server to work with the database. Some errors may interfere with the connection between the 4D client and the 4D server: Sleep mode on the workstation Unreliable network connection Defective network cable ...
    • My client keeps losing connection to the server. How can I find the error?

      In order to be able to work with the database without any problems, you need a perfect network connection to your server. Various sources of error can affect the connection between 4D Client and 4D Server: Sudden workstation sleep Unreliable network ...
    • How Do I Install the timeSensor Client for Windows?

      In a multi-user environment, every workstation has its own timeSensor LEGAL client. The version of the client must match that of the server. Follow these links to download the timeSensor client: timeSensor Client v16 for Windows Under Windows, ...