Most Popular
Recently Added
Recently Updated

Connection Permission Denied

Symptoms

On some versions of Windows, the following error may occur:

Failed while reading batch because: Permission denied: connect

This can happen during registration or when pulling batch data.

Explanation

The built-in firewall is blocking the connection.

Resolution

Edit the conf/sym_service.conf file, find the lines that start with "wrapper.java.additional", and add the following line:

wrapper.java.additional.6=-Djava.net.preferIPv4Stack=true

The "wrapper.java.additional" properties end with a number that must be in sequence starting with 1. Make sure your additional line follows the sequence with the next number. Restart the SymmetricDS service for the setting to take effect.


Properties ID: 000008   Views: 2212   Updated: 12 years ago
Filed under: