legacy-knowledge-base
公開されました Sep. 10, 2025

複数の値を持つ web.server.https.port プロパティの使用

written-by

Anishq Sharma

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.server.https.port / web.server.http.port プロパティは複数の値の割り当てを許可しますか?
  • ユーザーが 2 つのポートを使用する必要がある場合、このプロパティを 2 つの値で使用する必要がありますか?

Environment

  • Liferay DXP [全バージョン]

解決策

  • いいえ、複数の値の割り当ては許可されていません。
  • これらのプロパティ は値を整数として受け取り、URL の後にセミコロンと値 (ポート番号) を追加します。 これにより、ポータルが Web サーバーと通信し、Web サーバーに存在するすべての使用可能なファイルを取得できるようになります。
  • 複数の値が指定されている場合、このプロパティはデフォルト値として「-1」を取ります。
did-this-article-resolve-your-issue

legacy-knowledge-base