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 information Under circumstances, there may be problems with the timeSensor Client, as the resources have not been loaded correctly or not completely. In this case, it is helpful to reload the resources again. Procedure Launch the client with ...
    • 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 ...
    • Logging the timeSensor client app onto the database server

      This article has been machine translated. If you find any errors, we would be grateful if you could report them to translation@timesensor.com. General The timeSensor client app is a rich client, i.e. a generic client with which you can log on to a 4D ...