Function server_port

Source
pub fn server_port() -> Option<u16>
Expand description

Get the port that the server should listen on.

This is set by the CLI and is used to bind the server to a specific port. You can manually set the port by setting the PORT environment variable.

PORT=8081 ./server