Specifiche tecniche¶
Configurazione del firewall¶
If a project contains online layers (PostGIS, WMS, WFS, etc), QFieldCloud will try to establish a connection to these services. Sometimes these services are behind a firewall and the system administrators need to allowlist the QFieldCloud IP.
The hosted version on app.qfield.cloud will connect from the following ip addresses:
servizi | IP |
---|---|
app.qfield.cloud | 159.100.252.133 |
app.qfield.cloud | 194.182.188.113 |
Configuratione PostgreSQL¶
Se il progetto contiene layer PostgreSQL (PostGIS), è necessario configurare il server PostgreSQL in modo da consentire la connessione da un indirizzo IP app.qfield.cloud
.
Altrimenti, si otterrà un errore come questo:
FATAL: no pg_hba.conf entry for host "185.203.114.168", user "qfc", database "mydb_test", SSL off
WARNING:QGIS_MSGLOG:1 unavailable layer(s) found:
Per farlo, è necessario modificare il file pg_hba.conf
dove è ospitato il server PostgreSQL. Per ulteriori informazioni, consulta le raccomandazioni sulle domande StackOverflow.