4D v14

PortNumber

Home

 
4D v14
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

 
SEE ALSO 

IPAddress

 
ARTICLE USAGE

4D XML Keys BuildApplication ( 4D v14)
4D XML Keys BuildApplication ( 4D v12.1)
4D XML Keys BuildApplication ( 4D v13)
4D XML Keys BuildApplication ( 4D v14 R2)
4D XML Keys BuildApplication ( 4D v14 R3)
4D XML Keys BuildApplication ( 4D v14 R4)