Which IP address are you looking for?
A recorder has two addresses that people mix up. Its local address, such as 192.168.1.20, is the one the router gave it inside the building, and it is what you type into a browser, a media player or an RTSP address on the same network. The public address belongs to the whole internet connection and is shared by every device behind the router. This guide finds the local one. The public one is a separate question, covered in the entries on DDNS and port forwarding.
Why is the recorder's own menu the most reliable place to look?
The recorder's menu is the most reliable source, because the recorder is reporting its own settings. Connect a monitor to the HDMI or VGA socket and a mouse to a USB port, right-click for the menu, and sign in with the admin account. Menu names vary by model and firmware, but the page is always under network settings:
- Hikvision and Prama: the network page, usually labelled TCP/IP or General, under System or Configuration.
- Dahua, CP Plus and most Honeywell: Network, then TCP/IP, with a Mode setting of Static or DHCP.
- Other brands: look for Network, LAN or TCP/IP under the system settings.
Can the router tell you the recorder's address?
Yes: when nobody has a monitor at hand, the router knows every address it has handed out. Its own address and login are usually printed on a label underneath; common addresses are 192.168.0.1 and 192.168.1.1. The list is called something like connected devices, attached devices or DHCP clients. Recorders often appear with a blank name or a model number, so match the MAC address instead: it is printed on the recorder's label and shown in its network menu. A network scanner app on a phone joined to the same Wi-Fi gives a similar list.
What are SADP and ConfigTool, and how do they find a recorder?
Hikvision's SADP and Dahua's ConfigTool are free programs for a computer on the same network. They list every device of that maker they find, with its address, port, model, serial number and firmware, and SADP also shows whether a device has been activated. Prama devices run Hikvision firmware and appear in SADP; CP Plus and most Honeywell recorders run Dahua firmware and usually appear in ConfigTool.
Their real use is the recorder that is on the network but out of reach. A device still on a factory address, such as 192.168.1.64 on many Hikvision cameras or 192.168.1.108 on many Dahua devices, may not match your network's range. A browser cannot open it, but the search tool still lists it, and with the admin password it can change the address to one that fits.
What about the cameras behind an NVR?
On an NVR with PoE ports built in, the cameras plugged into those ports sit on a small internal network that the NVR runs itself. They have addresses, but your router never sees them, and a computer on the main network cannot reach them directly. You reach each one through the NVR instead, as one of its channels, using the NVR's address. Cameras plugged into a separate network switch are different: they get their own addresses from the router and show up in its list.
Why does the DVR's IP address keep changing?
Most recorders leave the factory set to DHCP, which means they ask the router for an address and take whatever they are given. The router normally gives the same one back, but not always. A power cut that outlasts the lease, a new router from the internet provider, or a router reset can each hand the recorder a different address.
The maker's phone app often keeps working, because it connects through the maker's cloud and does not care about the local address. Everything that was pointed at the old address breaks: port forwarding rules, saved RTSP addresses, a media player on the office computer, and any monitoring connected through a local computer.
How do you stop the recorder's address changing?
Give it a fixed address, in one of two ways: a reservation in the router or a static address on the recorder. Use one of them, not both with different numbers:
- A reservation in the router (preferred). In the router's DHCP settings, bind the recorder's MAC address to its current address. The recorder stays on DHCP and always gets the same number back, and a new router only needs the one rule copied across.
- A static address on the recorder. Switch the recorder from DHCP to static, and enter an address outside the range the router hands out, with the router as gateway and a working DNS server. Without DNS, the recorder's email, time sync and cloud app can stop working.
How do you prove the address is right?
Test from a computer on the same network, and read the result:
- The recorder's login page opens at http:// followed by the address. The address is right.
- A different device's login page opens. Two devices share the address. Change one of them.
- The page times out, but SADP or ConfigTool lists the recorder. It is on a range that does not match the network. Change its address with the tool.
- Nothing finds it at all. Check the network cable's lights at both ends, and that the recorder is plugged into the router or a switch connected to it.
How does GoKavach use the recorder's address?
When a recorder has no public address, GoKavach reaches it through a connector running on an always-on computer at the location. The connector searches its own local network for devices that answer on the usual camera ports, 554 and 8554, every 10 minutes, and lists them under Which one is the DVR? when you set up the tunnel. You pick the recorder from that list, or choose Another address and type it. The guide to viewing CCTV remotely without a static IP explains the connector.
The tunnel then goes to that one address. If the recorder later moves to a new one, its cameras go offline in GoKavach and the camera offline alert tells your contacts. A router reservation prevents that. The RTSP URL guide shows how the address fits into each camera's stream address.