Legacy Knowledge Base
公開されました Sep. 10, 2025

Glowroot が動作していません : localhost:4000 [localhost/127.0.0.1] への接続に失敗しました:接続が拒否されました

Written By

Kanchan Bisht

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • Glowrrotが機能せず、このようなエラーが出る:
    ERROR [http-nio-8080-exec-5][GlowrootProxyServlet:66] null
    org.apache.http.conn.HttpHostConnectException: Connect to localhost:4000 [localhost/127.0.0.1] failed: Connection refused: connect

環境

  • Liferay DXP 2023.Q4+

解像度

  • ここでは4000番ポートがデフォルトである。
  • まず、DXPサーバーを停止する必要があります。 ./catalina.sh runを実行した場合は、次のコマンドを実行する必要があります。 ./catalina.sh glowroot run.
    • growrootポートまたは情報を示すコンソールログについては、添付のスクリーンショットをご覧ください。 console-logs-glowroot.png

      ただし、dockerの場合、 GLOWROOT_ENABLED 環境変数を trueに設定してGlowrootを有効にする。 例えば、
      docker run -e GLOWROOT_ENABLED=true -it -m 8g -p 8080:8080 liferay/dxp:latest

      一方、Tomcatバンドルを使う場合は、コマンドラインからGlowrootを実行する。 バンドルの $CATALINA_HOME/bin フォルダーに移動します。 ./catalina.sh glowroot run.

      ユーザーがこのコマンドを実行すると、以前と同じDXP UIが表示されます。 ユーザーはサインインを要求される。 管理者認証情報を入力してください。

      Glowroot にアクセスするには、まず の管理者アカウントで Liferay インスタンスにログインします。 Glowroot には、管理者ロールを持つユーザーのみがアクセスできます。


      次に http://localhost:8080/o/glowroot にアクセスしてください。

追加情報

Did this article resolve your issue ?

Legacy Knowledge Base