Integrated Web Server
From Garden Gnome Software
This tip shows how to configure and use the integrated web server built in to Object2VR and Pano2VR. This will allow local viewing of the HTML5 output as well as allowing both local and network access for the Flash output when viewed in its HTML page.
Contents |
Web Server Settings
The settings for the web server can be found under Settings for Windows and Linux and Preferences for Mac OS.
Pano2VR:
- Windows and Linux: File => Settings
- Mac: Pano2VR = Preferences
Object2VR:
- Windows and Linux: File => Settings
- Mac: Object2VR => Preferences
When the window opens, find the section labeled, Integrated Web Server:
- Open HTML Output: Select this option to enable the integrated web server for testing images locally.
- Network Accesses: Keep this selected to ensure that the web server is using the current local host. When not selected other devices and machines connected to the same network can also view the output.
- Port: Choose your desired port or leave it at auto. The server will use a new port number every time it is restarted or the program is opened. A fixed port number can also be used making it possible to bookmark the page. We suggest using ports 8000 or 8080. For more information on port numbers please see w:List of TCP and UDP port numbers.
Using the Integrated Web Server
In both Object2VR and Pano2VR, 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 HTML5 output (something which some browsers do not allow).
Clicking the Open output file button in the output section of the main project window will open the file using the computer's default web browser.
To view the output in another web browser simply copy the local address and paste it in the required web browser.
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 files, deselect Only local host under Network access in the program's Settings or Preferences. Then follow the following steps to test the output on something other than the local host:
- With either Object2VR or Pano2VR open, choose Tools > Integrated Web Server.
The web server window opens with the local address needed to enter in the device's web browser. In the image below, two addresses are displayed. This is because there are two servers on the network. Either web address would work.
- Enter the address in the web browser of any device.

Locations of all open projects will be displayed; here, there is only one.
- Click on the link to display the project's folder contents which will include any subfolders, HTML pages and images.

- This project is using the file name index for its HTML page. To open the output click on the file
index.html
The operation and function of the project can now be tested before being uploaded.
See also
w:List of TCP and UDP port numbers

