Jump to content
Sign in to follow this  
Derrick

Hikvision DDNS with multiple cameras

Recommended Posts

I have searched and can not find a solution to this problem. I have two hikvision cameras and have added them both to hik-onlike.com (DDNS service), however, the hik-online assigns the same external ip address to both cameras. Obviously, they can not both have the same IP address, so, how can I get each camera assigned its own IP address in hik-online?

 

I can view each camera via internal IP, both directly and with iVMS 4200/4500, but viewing them via the internet I can only access one camera (using Hikvision DDNS).

 

Please help!

Share this post


Link to post
Share on other sites

You only need to use the DDNS on one camera.

 

It is up to you to modify the ports, camera2 will have different ports than camera1.

 

Example:

DerrickCameras.hik-onlike.com:1001 will go to camera1.

DerrickCameras.hik-onlike.com:2001 will go to camera2.

 

Remember that each camera requires two ports to be forwarded.

Share this post


Link to post
Share on other sites

Thanks Joey.

 

Which need to be different between the two cameras?

 

Defaults are:

 

HTTP PORT: 80

RTSP PORT: 554

HTTPS PORT: 443

SERVIER PORT: 8000

 

Which need to be changed and port forwarded? I know how to port forward (the one camera is working) I just don't want to change anything that doesn't need to be changed.

Share this post


Link to post
Share on other sites
Thanks Joey.

 

Which need to be different between the two cameras?

 

Defaults are:

 

HTTP PORT: 80

RTSP PORT: 554

HTTPS PORT: 443

SERVIER PORT: 8000

 

Which need to be changed and port forwarded? I know how to port forward (the one camera is working) I just don't want to change anything that doesn't need to be changed.

 

Everything needs to be different.

 

Like:

Cam1 - Http 90 RTSP 1024 Data 8000

Cam2 - Http 91 RTSP 1025 Data 8001

 

http and https ports only need to be open/forwarded if you plan on accessing the devices with the web interface. If you are only going to use iVMS, you will be fine with RTSP and data ports.

Share this post


Link to post
Share on other sites

Every time I have changed the http port in the camera settings I lose access to the camera and have to reset it.

 

This time, after resetting, I changed only the server port in the camera settings. Since i can't find in iVMS where to change the port, I just used IP/Domain and put in my IP (that I can get from hik-online) and changed the port to what I changed in in the camera. Not the most convenient way, but it works.

 

Now to fix the IR filter that sticks causing purpleish picture.

Share this post


Link to post
Share on other sites
Every time I have changed the http port in the camera settings I lose access to the camera and have to reset it.

 

If you change the http port on your camera, you have to put it in the browser for accesing the camera...

 

If your camera is:

http://192.168.1.20

And you change the port to 90, then you will have to access the web interface with:

http://192.168.1.20:90

Share this post


Link to post
Share on other sites

Thanks MindTwist. I was aware of that, but it did not work, not in Chrome or IE. I did read somewhere that it would only work if the camera was plugged into the router, not with the camera plugged into a switch which was plugged into the router. Something about port forwarding the router to the switch. I don't know, didn't get the deep into it. I am able to accomplish what I want (for now) by being able to view them remotely with iVMS. I am not that concerned with accessing the cameras to make changes... yet. In time I will research it further and eventually get it figured out. But by then I will have an NVR which will change everything again!

Share this post


Link to post
Share on other sites
You only need to use the DDNS on one camera.

 

It is up to you to modify the ports, camera2 will have different ports than camera1.

 

Example:

DerrickCameras.hik-onlike.com:1001 will go to camera1.

DerrickCameras.hik-onlike.com:2001 will go to camera2.

 

Remember that each camera requires two ports to be forwarded.

 

If all your want to is look at video on the Android/iOS app, then only forward two ports, the RTSP and the SERVER port.

 

 

For your internal ports of:

 

Camera 1, internal address: 192.168.1.101 (for example)

HTTP PORT: 80

RTSP PORT: 554

HTTPS PORT: 443

SERVER (SDK) PORT: 8000

 

Camera 2, internal address: 192.168.1.102

HTTP PORT: 80

RTSP PORT: 554

HTTPS PORT: 443

SERVER (SDK) PORT: 8000

 

In your router, you need to forward ports.

 

Camera 1:

Incoming port 1001, forward to 192.168.1.101 Port 8000

Incoming port 1002, forward to 192.168.1.101 Port 554

 

Camera 2:

Incoming port 2001, forward to 192.168.1.102 Port 8000

Incoming port 2002, forward to 192.168.1.102 Port 554

 

In the android app, use the address of DerrickCameras.hik-onlike.com and port 1001 for Camera1 and DerrickCameras.hik-onlike.com and port 2001 for Camera2

 

Only use the DDNS for the one camera, disable it for camera2.

 

Do NOT forward port 80 to anything, it isn't needed and the less ports the safer it is.

If you MUST use the web gui, forward port 443 for the camera.

 

If you're using a regular switch, then it doesn't matter if they're plugged in the router or switch, aslong as the switch is connected to a router LAN port.

And that the cameras are powered.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×