Double check that your setup of the remote viewing is done properly:
Refer to this – https://www.securitywholesalers.com.au/faqs/can-use-hik-connect-set-remote-viewing/
Otherwise, it may be that your modem is blocking some of your required ports.
Below is a list of ports required to be open.