How to solve API bind error?

Sometimes mining client will show you an output such as:

  • API bind error
  • TCP API bind address already in use
  • Bind failed with error
  • Port is busy
  • Port already in use
  • Failed to bind to port

These errors occur when the previous mining client didn't properly exit and didn't close the port that API was using. For that reason, the new mining client can't use that same port.

Our mining OS will detect such issues and fix them, but in case it fails, killing the process or rebooting the rig is required.