Agent not connecting: "javax.naming.CommunicationException: Failed to connect to server"

お困りですか?

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

コミュニティに質問

 

問題

The agent is not able to ping the server. Agent log shows an error similar to the following, pointing to a DNS problem:

javax.naming.CommunicationException: Failed to connect to server localhost:8085

 

ソリューション

 

  1. Update the DNS records to include the appropriate server name & IP used in the configuration file. If updating the DNS server is impossible
    Similar results can be achieved by updating the hosts file on the Bamboo server itself (local administrator rights on the server are needed).
    Common file location based on OS:

    OS場所
    Linux/etc/hosts
    WindowsC:\Windows\System32\drivers\etc\hosts


    Make sure the entry must contain an IP address and corresponding server name:  

    <IP of server>    <host name of server>
    192.168.1.123     atlassian.com
  2. Restart the agent

 

 

最終更新日 2017 年 11 月 30 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.