技术参数
防火墙配置¶
如果工程包含在线图层 (PostGIS、WMS、WFS等),QFieldCloud将尝试建立与该服务的连接。有时这些服务位于防火墙之后,系统管理员需要将 QFieldCloud IP 列入允许列表。
服务 | IP |
---|---|
app.qfield.cloud | 159.100.252.133 |
app.qfield.cloud | 194.182.188.113 |
PostgreSQL配置¶
如果您的工程包含PostgreSQL (PostGIS) 图层,则需要配置PostgreSQL服务器,便于允许从 app.qfield.cloud
IP 地址进行连接。
否则,将出现如下错误:
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:
To do so, you need to edit the pg_hba.conf
file where your PostgreSQL server is hosted. For more information, refer to recommendations on StackOverflow questions.