LogoLogo
  • Getting Started
  • CLI
    • Docker
    • Config.yaml
  • GUI (SOON)
  • Tunnels Types
    • HTTP/s
      • HTTP/s plugins
      • HTTP/s apps
    • TLS
    • TCP
    • UDP
  • Reservations
    • Domain
    • Endpoint
  • Troubleshoot
    • Common errors
  • Tutorials
    • Expose a local web server
    • Expose Apache/Nginx web server
    • Share files from localhost
    • Use LocalXpose with Traefik
    • Expose PocketBase backend
    • Create a custom domain name
    • Make Let's Encrypt certificate
    • Access your IP camera remotely
    • Access your Raspberry Pi remotely
    • Sync your Keepass password manager
    • Expose localhost RASA chatbot for Telegram Integration
    • Expose your local Netdata Instance
    • Testing Stripe webhook
    • Expose localhost Kubernetes
    • Expose database server (PostgreSQL)
    • Exposing local Minecraft server
    • More Tutorials
Powered by GitBook
On this page
  • Usage
  • Reserve an endpoint with random port
  • Reserve an endpoint with custom port
  • Custom domain name

Was this helpful?

  1. Reservations

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.

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.

PreviousDomainNextCommon errors

Last updated 2 years ago

Was this helpful?