4

Gunbot Error: bind EADDRINUSE null 5000

This is one of the most common errors when running Gunbot:

Error: bind EADDRINUSE null:5001
at Object.exports._errnoException (util.js:1026:11)
at exports._exceptionWithHostPort (util.js:1049:20)
at listenOnMasterHandle (net.js:1385:16)
at shared (internal/cluster/child.js:105:3)
at Worker.send (internal/cluster/child.js:76:7)
at process.onInternalMessage (internal/cluster/utils.js:42:8)
at emitTwo (events.js:130:20)
at process.emit (events.js:213:7)
at process.nextTick (internal/child_process.js:755:12)
at _combinedTickCallback (internal/process/next_tick.js:95:7)
at process._tickCallback (internal/process/next_tick.js:161:9)
events.js:182
throw er; // Unhandled ‘error’ event
^

The cause of this error is clear: Most likely you have multiple instances opened in the same port. In order to fix it, restart your computer and be sure you only open one instance. Also note that you don’t need to open Gunthy-gui.exe more than one time and you don’t need to execute gunthy.exe if you are already running the bot through GUI.

4 Comments

Avatar

orcabates 7 January, 2018

I am new to this, so sorry for ignorance, I bought Gunbot yesterday and have yet to make it successfully trade, this morning i started it up and Gunthy.gui started spamming windows, it opened what must have been 3 or 4 a second, faster than I could close them, task manager didn’t stop it, I had to restart my machine. and not it says
I do not have multiple instances running I have restarted 3 or 4 times and was careful to right click Gunthy.gui and run as admin.

Loading config…
Loading config…
Loading config…
Loading config…
Loading config…
Loading the exchange – bittrex

and the error

Error: bind EADDRINUSE null:5001
at Object.exports._errnoException (util.js:1026:11)
at exports._exceptionWithHostPort (util.js:1049:20)
at listenOnMasterHandle (net.js:1385:16)
at shared (internal/cluster/child.js:105:3)
at Worker.send (internal/cluster/child.js:76:7)
at process.onInternalMessage (internal/cluster/utils.js:42:8)
at emitTwo (events.js:130:20)
at process.emit (events.js:213:7)
at process.nextTick (internal/child_process.js:755:12)
at _combinedTickCallback (internal/process/next_tick.js:95:7)
at process._tickCallback (internal/process/next_tick.js:161:9)
events.js:182
throw er; // Unhandled ‘error’ event

Reply

Avatar

Aitor 7 January, 2018

Hi, that’s because you already had one instance opened. If you have one, do not open more unless you know what you are doing and you want to run multiple instances:

https://gunbot.shop/run-multiple-instances-of-gunbot-and-change-ports/

Reply

    Avatar

    orcabates 7 January, 2018

    I restarted my computer 4 times, actually 5 or 6 times now, and open only one instance of Gunthy.gui by right clicking on it and selecting run as administrator. unless this thing is self starting on startup there is no other instance running.

    Reply

Submit Your Comment