Starting with version 14, 4D supports IPv6 address notation. This concerns all the integrated servers of 4D, i.e.:
- the Web server as well as the SOAP server,
- the SQL server.
Note: For more information about IPv6, refer to the following specification: RFC 2460.
Support of IPv6 is transparent for users and for 4D developers: the program accepts either IPv6 or IPv4 connections indiscriminately when the listening "IP address" of the server is set to All (see Defining the IP Address for the HTTP Requests (HTTP server) and SQL Server Publishing Preferences (SQL server).
However, you should pay attention to the following points:
- No longer any warning when TCP port is occupied
Unlike previous versions of 4D, when the server is set to respond on "all" IP addresses with 4D v14, if the TCP port is being used by another application, this is no longer indicated when the server is started. In fact, 4D server does not detect any error in this case because the port remains free on the IPv6 address. However, it is not possible to access it using the IPv4 address of the machine, nor by means of the local address: 127.0.0.1.
If your 4D server does not seem to be responding on the port defined, you can test the address [::1] on the server machine (equivalent to 127.0.0.1 for IPv6, add :portNum to test another port number). If 4D responds, it is likely that another application is using the port in IPv4.