For standalone agents
When using a standalone agent, you can choose both the port and network adapter that your app should be exposed to.
Both parameters of the mountOnStandaloneServer(port, host)
are optional:
the
port
defaults to3351
or to thePORT
environment variable (which is required for Heroku deployments).the
host
defaults to the unspecified IPv6 address (::
) when IPv6 is available, or the unspecified IPv4 address (0.0.0.0
) otherwise.
Last updated