If you have the manual of the DVR system, then I recommend resetting it, but before doing that, try changing the IPs to the values that were previously used. In many cases, the functionality should restore. However, if the server still refuses connections, then the master reset needs to be done. The whole procedure is explained in the official manual for the DVR.