Aggregate Cli dont connect a external postgresql

1. What is the problem? Be very detailed.

I have the next config json:

{
"home": "/root",
"jdbc": {
"host": "192.168.0.34",
"port": 5432,
"db": "aggregate",
"schema": "aggregate",
"user": "aggregate",
"password": "aggregate1"
},
"security": {
"hostname": "192.168.0.46:8080",
"forceHttpsLinks": false,
"port": 8080,
"securePort":445,
"checkHostnames": false
},
"tomcat": {
"uid": "tomcat8",
"gid": "tomcat8",
"webappsPath": "/var/lib/tomcat8/webapps"
}
}
i am trying to use aggregate cli to deploy a ODK Aggregate server.

But in the logs of Catalina say that try to connect to Postgresql on the host: 127.0.0.1

2. What app or server are you using and on what device and operating system? Include version numbers.

3. What you have you tried to fix the problem?

Look in the next PATH "ROOT/WEB-INF/classes/jdbc.properties" i found this:

jdbc.driverClassName=org.postgresql.Driver
jdbc.resourceName=jdbc/odk_aggregate
jdbc.url=jdbc:postgresql://127.0.0.1/aggregate?autoDeserialize=true
jdbc.username=aggregate
jdbc.password=aggregate1
jdbc.schema=aggregate

aggregate cli ignore the config json in the setup, additionally dont create the config tables on the database

for fix this i change the jdbc.url item and work fine

4. What steps can we take to reproduce the problem?
Use aggregate-cli whit the config json that i created

The problem persist with other installations