4D v13

PortNumber

Home

 
4D v13
CS
PortNumber

PortNumber  


 

 

/ Preferences4D / BuildApp / CS / PortNumber

Port number

This key contains the TCP port number of the desired server. By default, the port number is set to 19813 and it is generally not required to specify it. This key is required when the server’s port number has been modified.

When it is specified, the TCP port number is added to the IP address stored in a file named “EnginedServer.4Dlink,” which is located in the Database folder of the client application.

Warning: This key only modifies the port number on the Client side. On the Server side, the port number specified in the 4D database generating the application is stored. To use a custom port number, use the SET DATABASE PARAMETER command before calling the BUILD APPLICATION command. For example, to specify the port 21000:

 tempport:=Get database parameter(Client Server Port ID)
 SET DATABASE PARAMETER(Client Server Port ID;21000)
 BUILD APPLICATION("")
 SET DATABASE PARAMETER(Client Server Port ID;tempport)

 
PROPERTIES 

Product: 4D
Theme: CS

 
INDEX

Alphabetical list of commands

 
SEE ALSO 

IPAddress