After installing the Aranda AVS Turn Server service, you don’t need to make any adjustments for its operation. However, parameterizations can be made according to specific needs, such as changing the connection port (8081 by default) and enabling SSL (disabled by default). If you need to make these settings, follow these steps:
1. Validating the appsettings.json File
Before making changes, check the appsettings.json located in the service installation path (default: C:\Program Files (x86)\Aranda\Aranda Remote Control\Turn Server
) to ensure that the port is set to 8081 by default. If the port does not need to be modified, no further adjustments are required.
Additionally, validate that port 8081 is enabled in the local firewall rules to ensure the correct flow of traffic. In this file, you can also find the setting for SSL certificates, which is disabled by default (IsSsl=false).

Default appsettings.json settings:
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"TurnConfiguration": {
"CertificateParam": "",
"CertificatePath": "",
"CertificateSubject": "",
"IsSsl": false,
"Port": 8081,
"SSLProtocols": "Tls12"
}
}
2. Port Configuration Change
Edit the file appsettings.json and configure the desired port by replacing <puerto>
by the desired port number.
"TurnConfiguration": {
"CertificateParam": "",
"CertificatePath": "",
"CertificateSubject": "",
"IsSsl": false,
"Port": <Puerto>,
"SSLProtocols": "Tls12"
}
3. SSL Secure Connection Configuration
Edit the file appsettings.json, change “IsSsl” to true. There are two alternatives to add the SSL certificate:
3.1. Acquire or generate a PFX certificate, which must be located inside the folder Resources (the folder must be created if it does not exist) in the installation path of the service.

The file name is recorded in the CertificatePath and the base-64 encoded key for generating the certificate must be registered in CertificateParam, both options available in the appsettings.json.
"TurnConfiguration": {
"CertificateParam": "<clave-base64>",
"CertificatePath": "<nombre-archivo.pfx>",
"CertificateSubject": "",
"IsSsl": true,
"Port": 8081,
"SSLProtocols": "Tls12"
}
3.2. If you have a PFX certificate stored in the certificate bucket, you can configure it by naming the certificate in the CertificateSubject from the archive appsettings.json.
"TurnConfiguration": {
"CertificateParam": "",
"CertificatePath": "",
"CertificateSubject": "<nombre-certificado>",
"IsSsl": true,
"Port": 8081,
"SSLProtocols": "Tls12"
}
4. Service Restart
Restart the Turn Server service (Aranda AVS Turn Server) for the configuration changes to take effect. The service should now listen on the newly configured port and enable the use of SSL certificate.
5. Firewall Settings
Open the port that was configured in step 2 in the local firewall inbound rules. This step is crucial to allow traffic over the new port and ensure that the Turn Server can receive incoming connections on the configured port.
Parameterizing the Turn Server port and the use of SSL from the service is a fundamental process to ensure its correct functioning and adapt it to the specific needs of each customer. By following these steps, you can ensure that the Turn Server is configured correctly and ready to handle connections as required.