'Remote connections to this server are not allowed' error when attempting to connect to H2 database in Confluence Server

プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム

この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。

*Fisheye および Crucible は除く

問題

When attempting to connect remotely to the embedded H2 database in Confluence Server the following exception is thrown:

Connection to jdbc:h2:tcp://myserver.com/myconfluence/localhome/database/h2db failed. Remote connections to this server are not allowed.

原因

Remote connections to the embedded H2 database are not permitted for security reasons. You can only connect to H2 from the server on which Confluence is installed.

ソリューション

Connect to the embedded H2 database from the server on which Confluence is installed, as described in Embedded H2 Database.

Note: Plugin vendors can connect remotely to the embedded H2 database when Confluence is running in dev mode, but administrators should not use this as a workaround, and instead should migrate to a supported external database.

更新日時: September 25, 2025

さらにヘルプが必要ですか?

アトラシアン コミュニティをご利用ください。