Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

System Error when running Ganache 1.1.0 on win32 #552

Closed
theivanfranco opened this issue Apr 18, 2018 · 3 comments
Closed

System Error when running Ganache 1.1.0 on win32 #552

theivanfranco opened this issue Apr 18, 2018 · 3 comments

Comments

@theivanfranco
Copy link

I believe I had two instances running. Might be helpful to add additional port numbers for multiple instances?

PLATFORM: win32
GANACHE VERSION: 1.1.0

EXCEPTION:

Error: listen EADDRINUSE 127.0.0.1:7545
    at Object.exports._errnoException (util.js:1024:11)
    at exports._exceptionWithHostPort (util.js:1047:20)
    at Server.setupListenHandle [as _listen2] (net.js:1319:14)
    at listenInCluster (net.js:1367:12)
    at doListen (net.js:1493:7)
    at _combinedTickCallback (internal/process/next_tick.js:141:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

APPLICATION LOG:

T+0ms: Starting server with initial configuration: {"hostname":"127.0.0.1","port":7545,"network_id":5777,"total_accounts":10,"unlocked_accounts":[],"vmErrorsOnRPCResponse":true}
@zachlysobey
Copy link

I (also) stumbled across this when I fat-fingered the Ganache icon, and tried to launch twice. It seems reasonable that the ability to run two instances would not be implemented, but I bet there is a nicer way to fail? Maybe a nice message to the user "It looks like you have Ganache running in another window" or similar.

@mikeseese
Copy link
Contributor

Thanks so much for reporting this! This issue will be tracked using #665. I apologize for the catch-all comment. I will be going back through these issues and make sure I don't miss any specific details and make the appropriate comments.

@mikeseese
Copy link
Contributor

Hey @if1999615 and @zachlysobey! Unfortunately we do not support running multiple instances of Ganache simultaneously currently. They share the same Settings file which will mean they'll both try to run on the same port.

We're still determining whether or not we'll support multiple instances (see #684), but we're currently working the "nicer way to fail"! Thanks for the feedback

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants