aptible endpoints:tcp:create
command.
123
and 456
, the Endpoint will listen on those two ports. Traffic received by the Endpoint on port 123
will be sent to your app containers on port 123
, and traffic received by the Endpoint on port 456
will be sent to your app containers on port 456
.
You may expose at most 10 ports. Note that this means that if your image exposes more than 10 ports, you will need to specify which ones should be exposed to provision TCP Endpoints.
Do TCP Endpoints support SSL?
Are TCP Endpoints safe without SSL?
❗️ Unlike HTTP(S) Endpoints, TCP Endpoints currently do not provide Zero-Downtime Deployment. If you require Zero-Downtime Deployment for a TCP app, you’d need to architect it yourself, e.g. at the DNS level.