Configuring the mobile server

The web UI supports access to cameras and video streaming over the Internet. This access requires the installation and configuration of an XProtect Mobile Server in addition to the XProtect Management Server. When using the browser user interface, video streams via this server must be enabled and running.
Prerequisites: This procedure assumes this is a new installation, and that you have installed in the trust store of each controller/station and camera, a certificate that was signed by a root CA certificate in the browser trust store.
If you recently downloaded and installed a Milestone X Protect Management Server, you also downloaded the XProtect Mobile Server installer.
Perform the following steps:
  1. Install the XProtect Mobile Server on a separate PC.
  2. To edit this server’s configuration file, use File Explorer to navigate to this path on your Windows computer:
    Program Files\Milestone\Milestone Mobile Server
  3. Using a text editor, such as Notepad, open this file: VideoOS.MobileServer.Service.exe.config.
  4. Scroll down or search for this HttpHeader tag:
    add key=”Access-Control-Allow-Origin” value=“*”/>*

    This line indicates if the response can be shared with requesting code from the given origin. The asterisk (*) tells browsers to allow requesting code from any origin to access the resource. Another possibility is:

    add key=”Access-Control-Allow-Origin” <origin>/>*

    where you would replace <origin> with a single specific source: a hostname or constant IP address for a station that does not change.

  5. Save any changes you made and restart the XProtect Mobile Server.
  6. To verify that the mobile server is operational, use your browser to contact the server by entering the IP address and port number of the server’s PC:
    <ip address>:8081 or https://<ip address>:8082

    These are the default ports for the XProtect Mobile Server.