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 or if antivirus is blocking the API port. For that reason, the mining client can't use that same port.

msOS

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

Windows

If you get this error on minerstat for Windows, then it is also possible that your antivirus / firewall / Windows Defender is blocking the connection. Do the following:

  • Close minerstat application;
  • Whitelist minerstat folder or disable antivirus / firewall / Windows Defender;
  • Reinstall minerstat application.

This will redownload all important files that might got removed or blocked by antivirus or firewall.

Keep in mind that we don't recommend mining on personal computers.

Revolutionize your mining operation with minerstat

It's easy and free to get started. Monitor, manage, and optimize your mining rigs with our powerful platform.

Sign up for free now