I forgot to enable remote access to the JDisc Discovery database during the installation process. How can I enable remote database access without uninstalling and reinstalling the software?
Category:
Installation/Update
If you forgot to enable remote database access during the installation phase, then you can change it without reinstalling the software by editing two Postgres installation files:
- In %ProgramData%JDiscJDisc Discoverydbpg_hba.conf:
Add the following line to the “#IPv4 local connections” section:host all all 0.0.0.0/0 md5 - %ProgramData%JDiscJDisc Discoverydbpostgresql.conf:
Replace the line “#listen_addresses = ‘localhost’” by “listen_addresses = ‘*’”.
The ‘*’ indicates that every IP address is entitled to access the database. Replace the * by an IP address in order to limit the access to a particular IP address only.
Finally restart the JDisc Discovery Database server using the service control manager.
