How Do I Troubleshoot The Error "Could not start server: Address already in use: bind"

お困りですか?

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

コミュニティに質問

The following KB describes on how the error "Could not start server: Address already in use: bind" can be troubleshoot and fixed. The mentioned error normally occurs when starting up the Fisheye/Crucible instance. The Fisheye/Crucible will fail to start and the following error message will be captured and recorded in the log files:-

2014-09-04 18:54:48,532 ERROR - Could not start server: Address already in use: bind
java.net.BindException: Address already in use: bind
        at sun.nio.ch.Net.bind0(Native Method)
        at sun.nio.ch.Net.bind(Unknown Source)
        at sun.nio.ch.Net.bind(Unknown Source)
...

The error above suggests that there might another service running on the port dedicated to Fisheye/Crucible instance and this prevent the service from being started. Here is what you can do to troubleshoot and find out what is the service running on the port dedicated for Fisheye/Crucible.

Windows:In Linux: 

You can run the netstat command with -o parameters in command line
to check the ports and the PID tied up to the port. Then based on the PID,
run the tasklist command or use the task manager to find out which
program/service is occupying the port dedicated to Fisheye/Crucible.

Alternatively, you can use the third party tool TCPView to check the
program/service occupying the specific port.

Run the command "netstat -lnptu" to determine the program/service running on the port.

Upon determining the program/service occupying the affected port. Do free up the affected port and try to start the Fisheye/Crucible instance again. If it fails, then submit a Support Ticket with the log files for further investigation.


最終更新日 2018 年 7 月 31 日

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

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