Connecting to a Dahua server: CGI, SDK, ONVIF and GB28181
A Dahua AI server exposes four integration surfaces plus two platform routes. Which of them is enabled by default is not documented, so the switches are part of the commissioning checklist rather than something to discover later.
The surface, in one table
| Path | Port | Where it is switched on | What it is for |
|---|---|---|---|
| Web | TCP 80 | Network, Port | Browser and PC client access |
| RTSP | TCP 554 | Network, Port | Pulling a stream into another VMS |
| Private protocol and SDK | TCP 37777 | Network, Port | Dahua NetSDK applications, Dahua clients |
| CGI | HTTP, same web port | System, Security, System Service, Basic Services | Third-party platform integration over the CGI interface |
| ONVIF | HTTP | Same page, ONVIF row | Device-level integration with another VMS or NVR |
| GB28181 | SIP server port 5060 | Network Application, Access Service, GB28181 Server | Registration to a national-standard platform |
| P2P | outbound | Network Application, Access Service, P2P | DMSS mobile access without port forwarding |
The product pages condense this into one line: CGI, SDK, ONVIF with profiles S, G, T and M. The IVSS7108/H-V2 is the exception, listing S, G and T without M. The TB9000 lists no interoperability line at all.
CGI and ONVIF are switches, not protocols that are always on
This is the part that wastes site visits. Both paths sit behind toggles under System, Security, System Service, Basic Services, and the manual recommends disabling each one that is not in use.
The table lists SSH as disabled by default, and it does not state the default state for CGI or ONVIF. So there are two possibilities on any given unit, and the only safe procedure is to open the page and look before writing an integration plan.
What the manual does say is what each switch means:
- CGI: when enabled, a third-party platform can connect the device through the CGI protocol.
- ONVIF: when enabled, other devices can connect the device through the ONVIF protocol.
- Private Protocol: when enabled, the device can be accessed through the private protocol.
There is no published list of CGI endpoints or HTTP API reference bundled with these products. The model pages name CGI and SDK, the manual explains the toggle, and neither contains a request catalogue. A team that needs the URL-level interface has to get it from Dahua's developer channel, which is not the product documentation.
SDK
The model pages list SDK as an interoperability line. The library behind it is Dahua's NetSDK, the device-side package the vendor distributes to integrators, with C and C++ bindings. The default port for that path is 37777, which appears in the manual both as the private protocol port and as the port used when one device adds another, including cluster members.
The IVSS manual documents alarm upload in two modes: private protocol through SDK, or HTTP and HTTPS to an alarm centre. That is the only place in the manual where an outbound integration is described in any detail.
ONVIF
The manual treats ONVIF as a device-level integration: the ONVIF page under Network Application, Access Service, ONVIF has a user list, and the admin ONVIF user cannot be deleted.
Camera access from third parties is the other direction, and the datasheets list ONVIF, RTSP and named brands including Axis, Sony, Panasonic, Pelco, Canon and Samsung, with profiles S, G, T and M on the card models. Profile M matters if the project wants metadata over ONVIF rather than a Dahua-proprietary path, and it is missing on the IVSS7108/H-V2.
GB28181
This is where Dahua and Hikvision differ most in documentation. The IVSS and IVD manuals both describe a GB28181 Server page with the registration parameters spelled out: SIP server number defaulting to 34020000002000000001, domain 3402000000, and SIP server port 5060.
The manual warns that the parameters must match the platform exactly or registration fails. For projects in China this is the standard route to a government platform, and unlike the CGI interface, the procedure is fully documented in the product manual.
The TB9000 manual does not mention GB28181.
P2P and the mobile path
P2P is a switch under Access Service. Once enabled, the device registers to a cloud service and DMSS can reach it without port forwarding. The manual notes that enabling it collects IP address, MAC address and serial number.
For a small site with no IT support, P2P plus DMSS is the practical remote path. For a site with a security policy, P2P is an outbound tunnel that has to be argued for, and the manual itself suggests turning off what is not needed.
The platform layer
The servers are designed to sit under Dahua's own software as well as third-party VMS. DSS is the server-side platform and DMSS the mobile client. The IVSS manual shows the platform direction in its AI Module page, where a card can be set to Schedule by Platform so that the platform, rather than the device, decides how the intelligent module is used.
Whether a given DSS version manages a given IVSS build is a compatibility question the product pages do not answer. The firmware page for each model links user manuals and datasheets, not a platform compatibility matrix.
Security settings that belong in the handover
- Change the default credential. Only the TB9000 ships one, admin and admin123; the IVSS and IVD force a new password during initialization.
- Set the authentication digest algorithm under System, Security, Security Authentication.
- Set the login mode to security rather than compatibility, as the manual recommends.
- Enable account lockout and attack defence, and set the password expiry interval.
- Run the security scan and clear the yellow items.
None of these changes the integration surface, but all of them change whether a scanner flags the device on the network.
What we could not verify
No public HTTP API reference, endpoint list or OpenAPI document was found for the IVSS, IVD or TB9000. The CGI switch is documented; the interface behind it is not.
Dahua's developer portal was not reachable from our environment, so the current state of the developer programme, SDK downloads and partner registration is unconfirmed. What is documented on the product pages is the SDK and CGI capability, not how to obtain the packages.
The TB9000's integration surface is the weakest documented of the three families: no interoperability line on the product page, and a manual that lists CGI and ONVIF switches without saying which external platforms are tested.
For the model-level differences that affect these paths, read Dahua AI super-brain servers.