我要评分
获取效率
正确性
完整性
易理解

"Failed to bind" Displayed When Compiling Dubbo

Symptom

During the Dubbo compilation, the message "Failed to bind ......cause: Address already in use" is displayed.

Key Process and Cause Analysis

The port is occupied. Stop the process that occupies the port.

Conclusion and Solution

  1. Check processes that occupy the port. Enter the occupied port number as required.
    netstat -anpt | grep 12345
  2. Stop the process that occupies the port. Enter the process ID as required.
    kill -9 136725