Jump to content
videoVIP

Which ports need to be opened?

Recommended Posts

Back in the "old days" (last year), I only remember having to open TCP and UDP (and sometimes HTTP) ports. The new machine I installed today has TCP, UDP, HTTP and RTSP ports.

 

What ports need to be open?

Share this post


Link to post
Share on other sites

Alot of the Dahua models I've noticed have a network page listing the ports you should use.

 

I know the ports to use, just wondering if all the ports need to be pinholed/forwarded in the router.

Share this post


Link to post
Share on other sites
Back in the "old days" (last year), I only remember having to open TCP and UDP (and sometimes HTTP) ports. The new machine I installed today has TCP, UDP, HTTP and RTSP ports.

 

What ports need to be open?

TCP and UDP (transport layer) are not the same thing as HTTP and RTSP (application layer) - http://en.wikipedia.org/wiki/Internet_protocol_suite.

 

HTTP is typically used for webservers and browsers to communicate, and uses TCP port 80 by default; RTSP is used for streaming media and normally uses TCP port 554.

Share this post


Link to post
Share on other sites
HTTP is typically used for webservers and browsers to communicate, and uses TCP port 80 by default; RTSP is used for streaming media and normally uses TCP port 554.

 

OK. Thank you for the IT lesson. Now back to the original question: Which of those four (or all?) need to be pinholed/forwarded?

Share this post


Link to post
Share on other sites

It's not a question of "these four" because the four are not the same types of layers. When you forward ports in your router, almost all routers will give you the option of TCP, UDP, or Both, for every application-layer port you set up. This defines the type of transport it uses for that specific port.

 

Which application ports you need depends on the DVR. Most that use a web-based interface require at least port 80 for the incoming HTTP connection (most also allow you to change that port in case there's another webserver behind the router).

 

Most of those will then load an ActiveX client app that will use a different port to communicate, so you'll need to open up that port as well... but I can't tell you which one because I don't know what DVR you have.

 

The ones with a standalone client app will usually have one or more ports you need to forward, but again, that will depend on the exact model.

 

I haven't seen one yet that required RTSP, but you might use that if it's an H.264 DVR and you want to stream it to VLC or something.

 

For all of these, your manual should tell you specifically which ports you need to forward. Unless otherwise specified, you should assume all are using TCP. If the manual doesn't list it, or if you don't have the manual, the DVR settings should display the default ports, so you'd forward all of the ones you find there.

 

Again, without knowing the make and model of the DVR, NOBODY can tell you for sure what ports you need forwarded.

Share this post


Link to post
Share on other sites

Great, thanks for the concise answer. I guess I'll read the manual, but it's written in broken English, so I tend not to trust it.

 

 

It's not a question of "these four" because the four are not the same types of layers. When you forward ports in your router, almost all routers will give you the option of TCP, UDP, or Both, for every application-layer port you set up. This defines the type of transport it uses for that specific port.

 

Which application ports you need depends on the DVR. Most that use a web-based interface require at least port 80 for the incoming HTTP connection (most also allow you to change that port in case there's another webserver behind the router).

 

Most of those will then load an ActiveX client app that will use a different port to communicate, so you'll need to open up that port as well... but I can't tell you which one because I don't know what DVR you have.

 

The ones with a standalone client app will usually have one or more ports you need to forward, but again, that will depend on the exact model.

 

I haven't seen one yet that required RTSP, but you might use that if it's an H.264 DVR and you want to stream it to VLC or something.

 

For all of these, your manual should tell you specifically which ports you need to forward. Unless otherwise specified, you should assume all are using TCP. If the manual doesn't list it, or if you don't have the manual, the DVR settings should display the default ports, so you'd forward all of the ones you find there.

 

Again, without knowing the make and model of the DVR, NOBODY can tell you for sure what ports you need forwarded.

Share this post


Link to post
Share on other sites
Great, thanks for the concise answer. I guess I'll read the manual, but it's written in broken English, so I tend not to trust it.

So what is the make and model?

 

Or does it not have one?

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

×