Pano2VR 7 Docs / Using the Web Server

Using the Integrated Web Server

The integrated web server default settings are set to be used when viewing the output within an HTML page. It was included to allow local viewing of the web output (something most browsers do not allow for security reasons).

When a Web Output is generated, the project’s HTML file will open in the computer’s (local host) default web browser using the Integrated Web Server. To view the output in another web browser copy the local address and paste it in the other web browser on the same computer.

However, you cannot share this link to someone who is not on the same local network. To do this, you must upload your project to a web server like Amazon Web Services (AWS). Or, if their computer or device is on the same network, you can share the adderess(s) displayed in the web server. See Connecting Multiple Device.

You can also test features of your project that require a secure or encrypted version version of HTTP which is HTTPS. Enable HTTPS in Pano2VR’s settings (preferences) in the Web Server tab. Once that’s done, you should now see an SSL address.

★ The output is not being uploaded to the internet and the URL cannot be shared with other outside of the network.

Testing Network Speed

Sometimes we need to test our projects for slower internet speeds and this can easily be done by changing the Speed.

In the field, Speed, enter the speed to test in Kilobytes (kB) and hit Enter/Return. The server will restart.

To return back to None, enter 0 and hit Enter/Return. The server will restart.

Connecting Multiple Devices

Other machines and devices connected to the same network can also view the output without having to upload it to a server. For a connected device to view the output, deselect Only local host under the Web Server tab in Pano2VR’s Settings or Preferences. Then follow the following steps to test the output on something other than the local host:

  1. Open the Integrated Web Server (ToolsIntegrated Web Server ). The web server window opens with the local address needed to enter in the device’s web browser. You should see multiple IP addresses; one is not secure, and the other is. If there is no web server log in the log window, re-output or save your project.

    Integrated Web Server
    Integrated Web Server

  2. Enter any of the addresses in the web browser of any device. There are many ways to share a URL, but for added convenience use the QR code added to the web server page to open it on other devices.

    Locations of all open projects will be displayed. In the image above only one project is open.
    Locations of all open projects will be displayed. In the image above only one project is open.

  3. Click any path to display the project’s folder contents which will include any subfolders, HTML pages, and images.

  4. To open the output click on the HTML file (index.html).

    Projects on the local server.
    Projects on the local server.

    The operation and function of the project can now be tested before being uploaded.

Test Using a Simulator

Browsers like Chrome and Firefox have built-in tools that simulate handheld devices.

  1. Open your output in the Integrated Web Server.

  2. In Chrome, go to View ➝ Developer ➝ Developer Tools. The bottom part of the window will open the tools. In the toolbar, click the phone-like icon (second from left). From there you can toggle through virtually any device on the market.

    In Firefox, go to Tools ➝ Web Developer ➝ Responsive Design View. From there, you can specify screen sizes.

See also…

Last modified: Sep 13, 2022