-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: listen EADDRINUSE 0.0.0.0:8000 but no other process is running #334
Comments
Thanks for the error report! I agree this is a sucky UX + you're right, the dev server should not start listening if there's an error. I just created a PR to fix this #335. In the above scenario, Gatsby now outputs an error message like the following then quits.
|
+1000000 for including PID in the error message. bookmarking this so i can come back to it later for my own stuff. |
Sounds good. Thanks ! On Thu, Jun 16, 2016 at 8:43 PM Kyle Mathews [email protected]
|
Just published 0.11.5 🎉 🎉 🎉 Thanks for raising the issue @crucialfelix! This has always kinda bothered me but your pushing crystalized a good solution. Cheers and happy Gatsbing. |
Instead of restarting your computer, you can try this. At the terminal:
|
This is a bit curious.
Checking htop there are no other processes running. But something (perhaps gatsby at step 2) is still hanging onto this port.
The only thing that works is to restart the whole computer.
Notice how it says it is listening, even though it got an EADDRINUSE error.
The text was updated successfully, but these errors were encountered: