Firewall Port issue

We are using OpenVidu for banking related application,We can’t able to open all the ports of 40000 - 65535 .Is there any options to decrease it?. We also need minimum number of port to run the application.

Hello,

For testing purposes you could modify the docker-compose.yml file manually (not recommended) and change the following port intervals to be using less ports (or use other port numbers maybe?):

kms:
        environment:
            - KMS_MIN_PORT=40000
            - KMS_MAX_PORT=57000
coturn:
        environment:
            - MIN_PORT=57001
            - MAX_PORT=65535

If this works you can add the configuration parameters to the .env file and do a pull request on openvidu-server GitHub project.

I guess that depending on the maximum number of simultaneous peer connections on the media server you can scale the ports number, but you should do your own research.

Good luck,
Mihail

1 Like