Jump to content
Sign in to follow this  
zivtal

Hikvision iVMS 4500 connecting problems

Recommended Posts

I just config my router to forward port 80,554,443,8000 (with port translate 9901=>80, 9902=>554, 9903=>443, 9904=>8000)...

 

I connect to my IP and port 9904(it's translate it to 8000) with my iPhone using 3G connection everything work great but when I change it to WIFI I cant connect... It's connect to NVR but show me "Connection failed." on the streams... any idea why or how to fix it ?

Share this post


Link to post
Share on other sites

If your router doesn't support internal routing, then you need to create a second connection config.

 

eg:

 

external: myname.dyndsn.org 134.43.54.21 port 9901

 

internal: 192.168.1.123 port 80

Share this post


Link to post
Share on other sites

I don't sure if my D-Link DSR-250N support internal routing but I would like to connect from anywhere (WAN or LAN) to same IP address such "myname.dyndns.org" port 9904 until now it's only work with 3G and maybe with another WIFI (I mean not the WIFI that the NVR connected, I didn't checked it).

 

BTW- When I connect directly to Dahua IP camera I can connect from anywhere by using "myname.dyndns.org" (from WAN or from LAN everything work).

Share this post


Link to post
Share on other sites
Thank you very much, But NAT is enabled... This is not the problem :/

 

NAT and NAT loopback arte two different things. If you want to connect from inside the same network using the dyndns.org domain, your router must support NAT loopback. Otherwise, from inside the network you will need to use the lan IP (192.168.1.x or whatever).

Share this post


Link to post
Share on other sites
Thank you very much, But NAT is enabled... This is not the problem :/

 

NAT and NAT loopback arte two different things. If you want to connect from inside the same network using the dyndns.org domain, your router must support NAT loopback. Otherwise, from inside the network you will need to use the lan IP (192.168.1.x or whatever).

 

Checking with dlink support. I'll update...

 

BTW- I do same things direct to DAHUA IPC and there it's work perfect from WAN and from (Local) LAN (connect to "myname.dyndns.com" port 9001 and the router forwarding to 192.168.1.110 port 37777)... That's why I don't understand why with Hikvision NVR it's so complicated.

Share this post


Link to post
Share on other sites
Checking with dlink support. I'll update...

 

BTW- I do same things direct to DAHUA IPC and there it's work perfect from WAN and from (Local) LAN (connect to "myname.dyndns.com" port 9001 and the router forwarding to 192.168.1.110 port 37777)... That's why I don't understand why with Hikvision NVR it's so complicated.

 

How are you configuring iVMS-4500, what port are you using? If it does work with Dahua, then you should have NAT loopback, and it would also work with Hikvision. Looks like you are configuring iVMS-4500 wrong.

Share this post


Link to post
Share on other sites
Checking with dlink support. I'll update...

 

BTW- I do same things direct to DAHUA IPC and there it's work perfect from WAN and from (Local) LAN (connect to "myname.dyndns.com" port 9001 and the router forwarding to 192.168.1.110 port 37777)... That's why I don't understand why with Hikvision NVR it's so complicated.

 

How are you configuring iVMS-4500, what port are you using? If it does work with Dahua, then you should have NAT loopback, and it would also work with Hikvision. Looks like you are configuring iVMS-4500 wrong.

 

This is what I don't understand... My Dahua IPC-HFW3300C set IP 192.168.1.110 port 37777 (local) and I'm connecting always to "myname.dyndns.com" port 9001, The router always route incoming port 9001 to 192.168.1.110 port 37777. Always I mean while I'm connecting from WAN(3G) or from local LAN everything work.

 

My Hikvision NVR set IP 192.168.1.240 port 8000 and I'm connect to "myname.dyndns.com" port 9901 the router set forwarding incoming port 9901 to 192.168.1.240 port 8000 and it's work only from WAN(3G) but not work if my iPhone connected to local LAN... In the iVMS Device manager it's show like the NVR connected when I try to open "Live view" it's load the streams and then I get on the streams "Connection failed.".

 

It looks like that router doesn't support NAT Loopback, that is the problem.

 

Maybe, But again I don't understand how with Dahua IPC-HFW3300C & IPC-HF3200 it's work perfect and with the Hikvision NVR it's not work...

Share this post


Link to post
Share on other sites

Hi, I think I found why to fix the problem...

Now it's work...

 

I have been enabled UPnP on Hikvision NVR Network Settings and set "Port Mapping Mode" to manual and then set the port that the WAN get to connect (for example: HTTP Port: 9901). I attached screen shot of what I done...

 

I don't really know what UPnP should do but it's seems like the problem fixed. Now I can connect from WAN(3G) or Local LAN using my dyndns address...

229193934_2014-02-2620_50_27.jpg.27dbcc207d8929a820701ba436f477be.jpg

Share this post


Link to post
Share on other sites

I have limit of time to UPnP (from my router) maximum 86400 secs and limit of access times (maximum 255) the problem after the access times or time is over the device not sending new request to the router and then I got problem again :\

887381813_2014-02-2621_08_58.jpg.c1702961e4744200b7440a20d95de773.jpg

Share this post


Link to post
Share on other sites
Just disable UPnP, and configure your NVR ports as you want them. If you want to use 9901->9904, use the same ports on the NVR.

 

Can't be done. My router is forwarding ports only from WAN to LAN. Even when the port is same when I'm trying connect to "myname.dyndns.com" from my local LAN the router route it for the fastest alternate what is mean translate it to local LAN connection (192.168.1.1) and then it's not get forwarding because after the router translate it it's not WAN connection anymore...

Share this post


Link to post
Share on other sites
This is what I don't understand... My Dahua IPC-HFW3300C set IP 192.168.1.110 port 37777 (local) and I'm connecting always to "myname.dyndns.com" port 9001, The router always route incoming port 9001 to 192.168.1.110 port 37777. Always I mean while I'm connecting from WAN(3G) or from local LAN everything work.

 

My Hikvision NVR set IP 192.168.1.240 port 8000 and I'm connect to "myname.dyndns.com" port 9901 the router set forwarding incoming port 9901 to 192.168.1.240 port 8000 and it's work only from WAN(3G) but not work if my iPhone connected to local LAN... In the iVMS Device manager it's show like the NVR connected when I try to open "Live view" it's load the streams and then I get on the streams "Connection failed.".

 

Your Dahua IPC only uses one port; your Hikvision NVR uses two ports. You are connecting fine to the NVR (9904=>8000), but then you are failing to see live video (9902=>554).

 

My guess is that since the NVR is what tells iVMS-4500 what is the RTSP port, NVR is telling your mobile that the RTSP port is 554, and that is what is failing. That is, you can see the NVR information, maybe you can even see a list of the recordings, but as long as you try to see video (which uses RTSP), it fails.

 

Edit: Btw, I do have this working fine, but my external ports are the same as the internal ports.

Share this post


Link to post
Share on other sites
This is what I don't understand... My Dahua IPC-HFW3300C set IP 192.168.1.110 port 37777 (local) and I'm connecting always to "myname.dyndns.com" port 9001, The router always route incoming port 9001 to 192.168.1.110 port 37777. Always I mean while I'm connecting from WAN(3G) or from local LAN everything work.

 

My Hikvision NVR set IP 192.168.1.240 port 8000 and I'm connect to "myname.dyndns.com" port 9901 the router set forwarding incoming port 9901 to 192.168.1.240 port 8000 and it's work only from WAN(3G) but not work if my iPhone connected to local LAN... In the iVMS Device manager it's show like the NVR connected when I try to open "Live view" it's load the streams and then I get on the streams "Connection failed.".

 

Your Dahua IPC only uses one port; your Hikvision NVR uses two ports. You are connecting fine to the NVR (9904=>8000), but then you are failing to see live video (9902=>554).

 

My guess is that since the NVR is what tells iVMS-4500 what is the RTSP port, NVR is telling your mobile that the RTSP port is 554, and that is what is failing. That is, you can see the NVR information, maybe you can even see a list of the recordings, but as long as you try to see video (which uses RTSP), it fails.

 

Edit: Btw, I do have this working fine, but my external ports are the same as the internal ports.

 

Thanks dude, When I tried in the 1st to put "same port" I tried it only on SDK port (witch one that I connect too) I didn't think this is using 2 ports to connect. Good to know Thank you very very much.

Share this post


Link to post
Share on other sites
Thanks dude, When I tried in the 1st to put "same port" I tried it only on SDK port (witch one that I connect too) I didn't think this is using 2 ports to connect. Good to know Thank you very very much.

 

On iVMS-4500 you need to configure the data port (8000 by default). That is the port used to connect to the NVR, login, get device info, channel info, etc. But all the video streaming is done over the RTSP port (554 by default). That port is not configured on iVMS-4500, so I guess that iVMS-4500 is pulling the info somehow over the data port from the unit.

 

Keep in mind that something is not right on my theory; since it would also not work from outside the network, and it does work for you.

 

But I always use the same external and internal ports... That's why I would just change the NVR ports to also be 9901-9904. Good luck!

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  

×