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 (opens in a new tab).

2. Create a reserved subdomain (Optional)

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

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

Next, we can use the subdomain "https://ipcamera.ap.loclx.io (opens in a new tab)" to see the 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]".


8 The Green, Dover, Delaware, 19901 USA

hello@localxpose.io

xLab

2024. All Rights Reserved

We contribute to Stripe's Climate program!

Product

FeaturesPricingDocumentationAppsAlternatives