server.httpPort

Variable Server Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline Read-Only

Available since Server 1.2.0

int server.httpPort

The server.httpPort variable is used to fetch the port number for HTTP connections.

Value

int An integer representing the port number for HTTP connections.
readonly This variable cannot be changed.

Notes

  • If the server's http server is enabled, the port in this function will be used to listen for HTTP connections. If the server's http server is disabled, the server.httpPort will be used to connect to the external HTTP server.

Examples

There aren't any examples for this variable.

Compatibility

There isn't any compatibility information for this variable.

Related

Server Related

        httpGet