Endpoint
An endpoint is the form of hostname:port, you can reserve an endpoint so that it will never be assigned to another user, even if your tunnel is offline.
This will generate a random available port and reserved it for you.
loclx endpoint reserve
loclx endpoint reserve --port 4050 --region ap
To use your own custom domain for endpoints, add a
CNAME
record in your domain settings and point it to the selected region, for example if you reserved an endpoint in us
region and port 4455
, then in your DNS settings you should add the following:CNAME
my.custom.domain
us.loclx.io
then you can use it to access your tunnels like
my.custom.domain:4455
.Last modified 8mo ago