IPWorks Cloud 2020 JavaScript Edition

Questions / Feedback?

WebServerPort Property

The local port on which the embedded web server listens.

Syntax


 getWebServerPort(): number;

 setWebServerPort(webServerPort: number): void;

Default Value

0

Remarks

This property specifies the port on which the embedded web server listens. Setting this to 0 (default) enables the system to choose a port at random. The chosen port will be returned when this setting is queried after the server has started listening.This is only applicable when using the embedded web server.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 JavaScript Edition - Version 20.0 [Build 8265]