legacy-knowledge-base
公開されました Jun. 30, 2025

プロキシを使用しないElasticsearchのセットアップ

written-by

Christopher Lui

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

Webプロキシを設置しているのですが、LiferayがリモートのElasticsearchサーバーに接続しようとする際にそれを使ってしまい、接続に失敗してしまいます。 Elasticsearchに接続する際にLiferayにプロキシを使わせたくない。

環境

  • Liferay DXP
  • Elasticsearch (リモート)

解像度

JVMのパラメータに次のような設定をしてみよう:

-Dhttp.nonProxyHosts="localhost|127.0.0.1|10.*.*.*|*.example.com|etc"

system-ext.properties: http.nonProxyHosts=192.168.0.250 で設定することもできます。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base