Connect to a Digital Sentry video recorder from a WAN internet connection and the DVR is behind a router, firewall or NAT.
Pelco Video Management
- DS ControlPoint 7.15
- DSSRV / DSSRV2
- DS NVs
Remote connections to a DS recorder require network ports to be available.
DS ControlPoint required network ports:
- For information on the required network ports to allow a remote DS ControlPoint connection, refer to article What network ports are required for a remote connection to a Digital Sentry System?
DS ControlPoint SQL port information:
When DS ControlPoint makes a connection to DSSRV / DSSRV2 / DS NVs recorder, it will send a request on UDP 1434 to discover the dynamic TCP SQL port for the DS_MSSQLSERVER instance. Once the recorder responds to the request with the correct port, DS ControlPoint will then communicate with SQL using the dynamic TCP port discovered and communicate with the DS VideoServer Service using TCP18772 to complete the connection.
If DS ControlPoint is unable to discover the correct SQL network port using UDP 1434, you might receive the following error - "Exception has been thrown by the target of an invocation" or "Object reference not set to an instance of an object".
DS ControlPoint 7.15 - specify SQL port manually
With the release of DS ControlPoint v7.15 you can now specify the TCP SQL network port manually by editing the ControlPointCache.xml file.
By specifying the TCP SQL network port manually, you do not need to have UDP 1434 available and it is recommended to not expose that port over a WAN for security reasons.
Recorder: Locate the assigned SQL port by running DS Quick Setup on the video recorder itself and navigating to DS Quick Setup > Tools button > Configure SQL Ports.
Note: The port will show to be a Dynamic port but it is only dynamically assigned when the software is installed, once assigned the port is static and will not change.
Client PC: Must have DS ControlPoint v7.15 installed for the below option to be available.
If DS ControlPoint is running, close it out.
Click on START button and in the search type in %appdata% and then ENTER.
You should now be in the AppData\Roaming folder. Double-click the Pelco folder.
Right-click on ControlPointCache.xml and select EDIT.
Locate the tag [SQLPort] 0000 [/SQLPort] under the [Name] --dvr name--- [/Name] of the System you are connecting with.
Note: If the SQLPort tag is not listed in the ControlPointCache.xml file, the system may need to be deleted and then re-added within the Systems tab in DS ControlPoint to populate the setting.
Change the 0000 to the port number listed in DS Quick Setup on the recorder.
*DS ControlPoint uses discover when the SQLPort is set to 0000.
Example using the port listed in DS Quick Setup above.
In Notepad, click on File > Save and then Exit.
Relaunch DS ControlPoint and verify you can connect successfully.
- If DS ControlPoint is running, close it out.