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.

Usage

Reserve an endpoint with random port

This will generate a random available port and reserved it for you.

loclx endpoint reserve

Reserve an endpoint with custom port

loclx endpoint reserve --port 4050 --region ap

Custom domain name

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.


© xLab 2023. All Rights Reserved