Skip to content
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

Frequent EADDRINUSE #319

Closed
rrthomas opened this issue Jul 13, 2021 · 1 comment
Closed

Frequent EADDRINUSE #319

rrthomas opened this issue Jul 13, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@rrthomas
Copy link
Contributor

rrthomas commented Jul 13, 2021

I often get errors like this:

Error: listen EADDRINUSE: address already in use :::5269
      at Server.setupListenHandle [as _listen2] (net.js:1320:16)
      at listenInCluster (net.js:1368:12)
      at Server.listen (net.js:1454:7)
      at /home/rrt/Software/ruth/node_modules/linkinator/src/server.ts:36:8
      at new Promise (<anonymous>)
      at Object.startWebServer (node_modules/linkinator/src/server.ts:33:10)
      at LinkChecker.check (node_modules/linkinator/src/index.ts:84:22)
      at Object.check (node_modules/linkinator/src/index.ts:416:19)

Indeed, the port is already in use! I guess that Linkinator is using a random port; presumably it should retry if it guesses one that's already being used?

Thanks for Linkinator!

@JustinBeckwith JustinBeckwith added the bug Something isn't working label Oct 5, 2021
JustinBeckwith added a commit that referenced this issue Oct 5, 2021
Co-authored-by: Justin Beckwith <beckwith@google.com>
@JustinBeckwith
Copy link
Owner

I think you addressed this in #328 which is now landed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants