Cloud API Overview > @adpt/cloud > NetworkService > port
NetworkService.port() method
Returns the port number of the NetworkService, once it is known.
Signature:
port(): number | undefined;
Returns:
number | undefined
Adapt v0.3.0: now with Google Cloud Run support!