All CLI Commands
aptible endpoints:tcp:create
This command creates a new App TCP Endpoint.
Synopsis
Examples
In all the examples below, $SERVICE
represents the name of a Service for the Spp you are adding an Endpoint to.
📘 If your app is using an Implicit Service, the service name is always
cmd
.
Create a new Endpoint
Create a new Endpoint using a Default Domain
Create a new Endpoint using a custom set of Container Ports
❗️ Warning
The
--ports
argument accepts a list of ports, so you need to pass it last.
Was this page helpful?