bindPort property
read / write
Port number for the server.
Set this to the port the server will listen on. The default value of null means uses 80 for HTTP and 443 for HTTPS. HTTPS or HTTP is used depending on if run is invoked with a private key and certificate, or not.
Since port numbers below 1024 are reserved, normally the port will have to
be set to a value of 1024 or larger before starting the server. Otherwise,
a "permission denied" SocketException
will be thrown when trying to
start the server and it is not running with with root privileges.
Implementation
int bindPort