コンテンツにスキップ

技術仕様

ファイアウォールの設定

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:

そうするには、PostgreSQLサーバーがホストされているマシンでpg_hba.confファイルを編集する必要があります。より詳細な手順については、StackOverflowの質問に記載の手順を参照ください。