# Run localhost on Oculus Browser : Unity Exporter

**URL:** <https://forum.babylonjs.com/t/run-localhost-on-oculus-browser-unity-exporter/37822>\
**Category:** Questions\
**Tags:** unity-exporter, oculus\
**Created:** [February 1, 2023, 7:56am UTC](https://forum.babylonjs.com/t/run-localhost-on-oculus-browser-unity-exporter/37822 "2023-02-01T07:56:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zee](https://avatars.discourse-cdn.com/v4/letter/z/df788c/32.png) [@Zee](https://forum.babylonjs.com/u/Zee)\
**Post date:** [February 1, 2023, 7:56am UTC](https://forum.babylonjs.com/t/run-localhost-on-oculus-browser-unity-exporter/37822/1 "2023-02-01T07:56:27Z")

</div>

How can I check on VR headset while running on localhost?  
Can I directly build from unity exporter to VR Device?

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [February 1, 2023, 1:14pm UTC](https://forum.babylonjs.com/t/run-localhost-on-oculus-browser-unity-exporter/37822/2 "2023-02-01T13:14:42Z")

</div>

cc @MackeyK24 for Unity and @RaananW for VR

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [February 1, 2023, 1:54pm UTC](https://forum.babylonjs.com/t/run-localhost-on-oculus-browser-unity-exporter/37822/3 "2023-02-01T13:54:34Z")

</div>

@MackeyK24 will be able to help with the unity exporter.  
Regarding localhost development - you need to make sure that you are running everything using SSL (HTTPS), otherwise webxr will not work. And that your network configuration permits communication between devices. I am not sure how you are hosting, but you need to also be sure that your server allows that. For example, if you use webpack you will need to set the host to 0.0.0.0 to allow accessing it outside of the device hosting it:

> **[DevServer | webpack](https://webpack.js.org/configuration/dev-server/#devserverhost)**
>
> webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable of transforming, bundling, or packaging just about any resource or asset.
