These are the outbound ports used by Dahua and X-Security teams to connect to the P2P cloud.
P2P Relay Service Port: 8900-8903 TCP Port
P2P Server Service Port: 8800-8803 TCP/UDP Port
P2P AS Service Port: 12366 TCP Port
WEB Service Port: 80 or 443 TCP Port
GMS Service: 8180 TCP/UDP Port
+ALL UDP ports
The servers involved in Dahua's P2P service are www.easy4ipcloud.com and www.easy4ip.com.