跳转至

技术参数

防火墙配置

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:

服务 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.