setHttpPort

Availability:

SmartFoxServer Pro (1.5.0 or higher)

Usage:

smartFox.setHttpPort(port <integer>)

Description:

The TCP port used by the embedded webserver. By default it is set to 8080.
If the webserver is listening on another port number this property should be set to that value.

Parameters:

port     the web server port

Returns:

Nothing

Example:

smartFox.setHttpPort(80)

See also:

getHttpPort(), uploadFile()