Jump to content
SEANHAWG

Logging into 2 DVR's remotely that are at 1 site

Recommended Posts

I am sure this is easy but I figured I would ask before I give out any advice.

 

I got a customer who has a 4 channel DVR that he can remotely view from his I-phone or the internet from a remote location just fine. He does this by simply visiting his WAN IP address, just for the heck, we will call it:

76.234.587.67 (I just made that up)

He also uses the following ports

HTTP Port: 80

Other Ports uses: 5050,6050, 7050

So if he is wanting to view that from a remote location, he simply types in 76.234.587.67 on Internet Explorer and voila, he can see his cameras.

 

 

 

He wants to add another DVR at that same location, but his question and my question is what IP address does he type in to connect to this DVR? My ASSumption was to simply apply slightly different ports numbers,

HTTP Port: 81

Other ports: 5051, 6051, 7051

And whenever he wants to logon remotely to the 2nd DVR, he just types in 76.234.587.67:81

 

 

Would this be correct or not? What hurdles would I face if any? And would he still use just 76.234.587.67 to login to his first DVR or would he now need to use 76.234.587.67:80

 

 

Thanks for any and all help.

Share this post


Link to post
Share on other sites

I am sure this is easy but I figured I would ask before I give out any advice.

 

I got a customer who has a 4 channel DVR that he can remotely view from his I-phone or the internet from a remote location just fine. He does this by simply visiting his WAN IP address, just for the heck, we will call it:

76.234.587.67 (I just made that up)

He also uses the following ports

HTTP Port: 80

Other Ports uses: 5050,6050, 7050

So if he is wanting to view that from a remote location, he simply types in 76.234.587.67 on Internet Explorer and voila, he can see his cameras.

 

 

 

He wants to add another DVR at that same location, but his question and my question is what IP address does he type in to connect to this DVR? My ASSumption was to simply apply slightly different ports numbers,

HTTP Port: 81

Other ports: 5051, 6051, 7051

And whenever he wants to logon remotely to the 2nd DVR, he just types in 76.234.587.67:81

 

 

Would this be correct or not? What hurdles would I face if any? And would he still use just 76.234.587.67 to login to his first DVR or would he now need to use 76.234.587.67:80

 

 

Thanks for any and all help.

 

 

hi sean. port 80 would not be the problem that would be for his webviewer. and he cant use 80 for his iphone.

with his other ports 5050/6050/7050 these will be for his remote software and his iphone ..... so yes you are right by just changing them by i digit each would let him see either dvr.

 

so not using port 80 ............. it would be 76.234.587.67:5050 for 1 dvr 76.234.587.67:5051 for the other dvr

Share this post


Link to post
Share on other sites

Just use different ports as you listed.

I would skip port 80 and use 81 and 82 etc but thats entirely up to you.

And yes you would then enter the port after the IP.

Share this post


Link to post
Share on other sites

The way I'd do it, would be to leave the DVRs all on the default ports, and forward them as needed in the router. So on the DVR, you'd forward "public" port 80 to "private" port 80 at DVR1's IP, and "public" port 81 (for example) to "private" port 80 at DVR2's IP.

 

See this thread for more info: viewtopic.php?f=12&t=23165&start=15

Share this post


Link to post
Share on other sites

awww yes, 5051, now I am getting it.

 

I seen that other post about doing the public to private port forwarding thing, but if my memory serves right, I dont remember seeing anything like that at all on my Netgear routers page. I'll have to check tomorrow though when I get back in the office when I do a test run.

 

At any rate, thanks to both of you for the help.

Share this post


Link to post
Share on other sites

Netgear should have similar functionality, although it may be called something different. What model router is it?

Share this post


Link to post
Share on other sites

I will find out for you when I get back to the office.

 

One small test that I did was I tried to login to my DVR at work using the semi-colon method. Normally I just type in the WAN IP by itself 71.153.139.72 But just for giggle I tried logging into it via this method 71.153.139.72:5050 and it would not connect. Do I HAVE to have 2 DVR's to make the semi-colon version work?

Share this post


Link to post
Share on other sites

All the colon does (btw, : = full colon, ; = semi-colon) in this position is allow you to specify a port number to use. If you don't, most browsers and programs will assume a certain default port. If you're using http, it will generally assume port 80 (ie. http://71.153.139.72 and http://71.153.139.72:80 are the same thing; ftp://71.153.139.72 and ftp://71.153.139.72:21 are the same; telnet://71.153.139.72 and telnet://71.153.139.72:23 mean the same, and so on).

 

In the case of your DVR, the internal webserver would be "listening" (for incoming http connections) to port 80, and once you're into the web interface, would use the other ports for its various other communications... so sending http requests directly to port 5050 would do nothing, because the webserver itself isn't listening to that port.

 

One other thing: most browsers (particularly anything Mozilla based), if you don't specify a protocol (http, ftp, etc.), will assume http. Internot Exploiter, however, does not: if you're using, for example, port 81 for your second DVR, you would have to use the full "http://71.153.139.72:81"; simply putting "71.153.139.72:81" won't work in any version of IE.

 

Finally, a handy trick that MAY work on your DVR (it depends on the specific implementation they've used in their web interface): you can specify a username and password with the URL as well. Try http://username@71.153.139.72 or even http://username:password@71.153.139.72.

Share this post


Link to post
Share on other sites
In the case of your DVR, the internal webserver would be "listening" (for incoming http connections) to port 80, and once you're into the web interface, would use the other ports for its various other communications... so sending http requests directly to port 5050 would do nothing, because the webserver itself isn't listening to that port.

 

 

if a dvr has h264 stream for a iphone app then a port has to be assigned and also forwarded to the dvr. and used in the http... not always the case with some dvrs but if it has handyviewer then a port will have to be added to the http for say iphone or java application

Share this post


Link to post
Share on other sites
I just hooked up 2 DVR's from my network and

 

Doing the :81 method worked. Thanks for your help.

 

 

 

hi sean. in your first post you say it was to view with iphone. 80 or 81 will not do it. it will want to load active x.

Share this post


Link to post
Share on other sites
I just hooked up 2 DVR's from my network and

 

Doing the :81 method worked. Thanks for your help.

 

 

 

hi sean. in your first post you say it was to view with iphone. 80 or 81 will not do it. it will want to load active x.

No entirely, some DVRs will automatically load a second stream for such devices which do not support ActiveX. But otherwise they also tend to use special software for the mobile devices.

Share this post


Link to post
Share on other sites
I just hooked up 2 DVR's from my network and

 

Doing the :81 method worked. Thanks for your help.

 

 

 

hi sean. in your first post you say it was to view with iphone. 80 or 81 will not do it. it will want to load active x.

No entirely, some DVRs will automatically load a second stream for such devices which do not support ActiveX. But otherwise they also tend to use special software for the mobile devices.

 

 

true. he could just use a java iphone app. (refresh images) or if the dvr has a true app then it would be port relient

Share this post


Link to post
Share on other sites

true. he could just use a java iphone app. (refresh images) or if the dvr has a true app then it would be port relient

One example is the Dahua DVR, there is no special port just for the mobile app, but it uses a sub stream instead of the main stream.

Share this post


Link to post
Share on other sites

At first, I was just trying to log into the 2 DVR's via IE to see if I could do it.

 

So this is what I had to do with my ports:

HTTP Port: 81

Command Port: 5051

Media Port: 6051

Mobile Port: 7051

 

To login from IE I had to:

To log into the first DVR, I have to type in the ipaddress

To log into the second DVR. I simply had to type in ipaddress:81

 

To log into the second DVR from my mobile app, i simply had to type in the ipaddress and in the configuration menu, I had to assign 7051 to access the second DVR. If I wanted to login to my first DVR, I simply changed it back to 7050

Share this post


Link to post
Share on other sites

true. he could just use a java iphone app. (refresh images) or if the dvr has a true app then it would be port relient

One example is the Dahua DVR, there is no special port just for the mobile app, but it uses a sub stream instead of the main stream.

 

 

 

 

the dahua / apollo range are java apps for mobile and also works with the mobile symbian platform. a true iphone app is h264 stream and only works with the iphone.

 

rory you need to move with the times we dont use these anymore.

 

micro_t_1-1.jpg

Share this post


Link to post
Share on other sites
the dahua / apollo range are java apps for mobile and also works with the mobile symbian platform. a true iphone app is h264 stream and only works with the iphone.

Granted I only tested it once on an Ipad, I know for certain it IS H264 as thats what the sub stream is.

No idea if its written in Java but its an app that is downloaded from the mac store thing and then installed on the ipad - whatever it is, it works and gives near real time video. I really dont care what a "true iphone app" is defined as anyway, since I really dont care for them to begin with, I prefer to use a desktop OS not a limited mobile OS, and If I did use a mobile OS it wouldnt be mac.

 

I dont understand your other comment, if its meant as an insult, major FAIL.

While you watch your measily couple cameras on your tiny little iphone screen, Im watching 64 on my netbook, and from various DVRs and IP cameras all over the world, plus I have 30 browser windows open and also streaming a DVD movie, making flyers, updating my site, and basically controlling the space shuttle. Guess yeah, Im WAY behind the times.

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

×