KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Programmatically change the TCP port ID used by the 4D Web Server
PRODUCT: 4D | VERSION: 6.8.5 | PLATFORM: Mac & Win
Published On: December 11, 2003

Version 6.8 and 2003

The TCP port ID that is used by the 4D Web server can be changed programmatically by executing the command SET DATABASE PARAMETER. The selector # 15 (or the constant Port ID) allows 4D to change on the fly the TCP port ID used by the 4D Web server.

Here is an example of the command call to set the TCP port ID to port 8080:

SET DATABASE PARAMETER(15;8080)

or

SET DATABASE PARAMETER(Port ID;8080)