Which TCP/UDP ports does VMS use?

Q&A of functional explanation or specification parameters
Updated 04-24-2024 23:53:36 PM FAQ view icon9133
This Article Applies to: 

VMS will use designated TCP and UDP ports to send and receive data over a network.

These ports are limited to a range of 1 to 65535. Port collisions can occur when a program attempts to use a port that is already occupied by another program on the host.

This article will show you which ports VMS uses, and how to modify the default ports.

1. An overview of the default ports

The default ports used by the VMS are listed in the table below.

Ports

TCP/UDP

When the port is required

5001

UDP

When VIGI VMS actively discovers VIGI devices via private protocol.

8081

TCP

When customers access the VIGI VMS web service via https.

8082

TCP

When VIGI devices report events to VIGI VMS.

8091

TCP

When customers watch live views or playback, VIGI VMS manages VIGI devices through this port.

10123

TCP

When VIGI devices connect to the VIGI VMS, establish the remote control terminal session between VIGI VMS and VIGI devices.

10556

TCP

When customers watch live view or playback from the VIGI VMS.

13134

TCP

VIGI VMS coordinates multiple services through this port simultaneously.

27017

TCP

VIGI VMS accesses the MongoDB database through this port.

 

2. Examples of VMS using ports

This section explains how VMS uses ports, using the example of how it discovers and adds VIGI devices.

Firstly, VMS broadcasts discovery packets on the subnet via UDP port 5001.

Secondly, VIGI devices listen to the port and receive the discovery message, then reply to the VMS via the same port.

Thirdly, VIGI devices connect to VMS via TCP port 10123.

Finally, VMS and VIGI devices create a TLS tunnel and adopt VIGI devices with a device account.

 

3. Port Forwarding Settings

If a router is performing NAT (Network Address Translation) between the VMS and the VIGI devices, the VIGI devices cannot connect directly to the VMS. In this case, Port Forwarding rules must be created to enable proper communication between the VMS and the VIGI devices.

The source and destination ports of the Port Forwarding rules should be the same as the VMS ports mentioned above. For example, if the device connect port is being used, the settings should be as shown below.

 

4. How to change the ports used by VMS

The VMS server ports can be changed by accessing the 'Port Config' option on the setup page.

 

5. Q & A

Q: How can I change the RCP Register Port?

A: The RCP Register Port is enabled when the VMS is running, if you want to change this port, please stop the VMS service and then change this port.

 

Q: What should I do if "Port is occupied" is displayed when VMS is enabled?

A: The VMS default ports have been used by another service on the server, please refer to section 4 to change the VMS default ports or stop the services that have been using the default ports.

 

Q: If my VMS is behind NAT, which ports do I need to forward to the public IP?

A: You will need to set port forward rules on port 8081, port 8082, port 10123, and port 10556.

Is this faq useful?

Your feedback helps improve this site.

Recommend Products

Community

TP-Link Community

Still need help? Search for answers, ask questions, and get help from TP-Link experts and other users around the world.

Visit the Community >