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
  • 1. Setup your IP camera
  • 2. Create a reserved subdomain (Optional)
  • 3. Expose your IP Camera
  • 4. Visit your Camera Feed

Was this helpful?

  1. Tutorials

Access your IP camera remotely

This tutorial will explain you, how you can use LocalXpose to access your local IP Camera.

PreviousMake Let's Encrypt certificateNextAccess your Raspberry Pi remotely

Last updated 2 years ago

Was this helpful?

1. Setup your IP camera

Make sure you have your IP camera connected to your network, set a static IP for your IP Camera. Also note the IP & port of running service.

Here we have our feed accessible in https://192.168.1.249:8080.

2. Create a reserved subdomain (Optional)

For accessing our camera feed, lets reserve a specific domain for it.

loclx domain reserve --subdomain ipcamera --region ap
loclx domain reserve --subdomain ipcamera --region ap
✓ Reserving a Domain...
subdomain is reserved -> ipcamera.ap.loclx.io

LocalXpose has provided us with a reserved domain "ipcamera.ap.loclx.io".

3. Expose your IP Camera

After we have reserved a subdomain for our IP Camera, we can now go ahead and expose our camera's web feed.

loclx tunnel http --reserved-domain ipcamera.ap.loclx.io --to 192.168.1.249:8080

Most IP camera come with inbuilt authentication system, if your camera doesn't you can use LocalXpose's basic authentication feature by passing an option "--basic-auth user:pass" like following.

loclx tunnel http --reserved-domain ipcamera.ap.loclx.io --to 192.168.1.249:8080 --basic-auth user:pass
✓ Creating HTTP tunnel...

Tunneling http://ipcamera.ap.loclx.io --> 192.168.1.249:8080
Tunneling https://ipcamera.ap.loclx.io --> 192.168.1.249:8080

4. Visit your Camera Feed

If you are having trouble with playback try reducing stream quality (video bitrate). For improving latency use the LocalXpose region close to you with option "--region [us|ap|eu]".

If you want to use your own domain instead of *.loclx.io, refer to .

Next, we can use the subdomain "" to see the camera feed.

create a custom domain
https://ipcamera.ap.loclx.io