elm-reactor icon indicating copy to clipboard operation
elm-reactor copied to clipboard

bad message when port 8000 is already in use

Open BethAr opened this issue 9 years ago • 2 comments

I can't run elm-reactor at all. I have the Elm Platform 0.15 installed, running on Windows 7 x64. I get the following error:

$ elm-reactor
Listening on http://0.0.0.0:8000/
Error on startup:
bind: failed (Permission denied (WSAEACCESS))

Shutting down...
Elm Reactor 0.3.1 (Elm Platform 0.15)
elm-reactor.exe: bind: failed (Permission denied (WSAEACCESS))

Since this is Windows, I also disabled the antivirus and firewall, but no luck.

BethAr avatar May 27 '15 00:05 BethAr

Just have had a similar problem (that's what brought me here), also on Windows 7 x64.

The default port 8000 was occupied by some other application (in my case NVidia NSight monitor).

running elm-reactor with "-p 8080" fixed the problem.

rshest avatar Jul 08 '15 20:07 rshest

This happens when the default port 8000 is already taken by another program. In the spirit of friendlier messages elm-reactor should say something like "Default port 8000 is already taken please try another port with 'elm-reactor -p 8080".

ManuelDeLeon avatar Nov 23 '15 22:11 ManuelDeLeon