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

fix: use host param when passed in server.listen #2397

Merged
merged 3 commits into from
Mar 4, 2022
Merged

Conversation

davidmurdoch
Copy link
Member

fixes #2358

Copy link
Contributor

@MicaiahReid MicaiahReid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool tests! But it looks like they're only passing on Ubuntu :(

Comment on lines +117 to +120
// on windows the zone_id is the scopeid
return `${info.address}%${info.scopeid}`;
} else {
// on *nix the zone_id is the `interfaceName`
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is why we can't have nice things

Copy link
Member

@cds-amal cds-amal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting! I think these tests are more sound than the previous ones. Nice work on OSX interface filtering. I wonder what's going on with Windows networking 🤔

src/packages/core/src/server.ts Outdated Show resolved Hide resolved
src/packages/core/tests/server.test.ts Show resolved Hide resolved
@davidmurdoch
Copy link
Member Author

Waiting for merge this one until after #2503 so I can stop playing the Restart All Tests game.

@davidmurdoch davidmurdoch changed the base branch from develop to alpha March 4, 2022 18:21
@davidmurdoch davidmurdoch changed the base branch from alpha to develop March 4, 2022 18:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ganache binding to all network interfaces even with -h localhost
3 participants