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

doesn't detect collisions on macos #3

Closed
danielroe opened this issue Feb 16, 2021 · 3 comments
Closed

doesn't detect collisions on macos #3

danielroe opened this issue Feb 16, 2021 · 3 comments
Assignees

Comments

@danielroe
Copy link
Member

danielroe commented Feb 16, 2021

when I have a server running on port 3000 and call getPort(3000) it returns 3000 rather than detecting a port collision

it defaults to these server options:

console.log(server.address())
// { address: '::', family: 'IPv6', port: 3000 }
Copy link
Member

atinux commented Feb 16, 2021

I did have the same error too

@pi0
Copy link
Member

pi0 commented Feb 25, 2022

To solve this, we might need to check all available hosts by default (instead of 0.0.0.0).

Ref:

@pi0 pi0 self-assigned this Feb 25, 2022
@pi0
Copy link
Member

pi0 commented Feb 25, 2022

Should be fixed with bac49cc. Please ping to reopen if still think happening.

@pi0 pi0 closed this as completed Feb 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants