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

NodeJS binds to IPv6 by default #15

Open
brettahale opened this issue Jan 23, 2018 · 3 comments
Open

NodeJS binds to IPv6 by default #15

brettahale opened this issue Jan 23, 2018 · 3 comments

Comments

@brettahale
Copy link

https://github.com/brettahale/udi-polyglotv2/blob/ab294da1df78608f6ef38ee07d631fb3b4ce1904/lib/modules/web.js#L103

I can create a pull request to address this but I'm not sure how you would want someone to do that given the binaries are in there. I tried to build locally but didn't have any luck. I was attempting the below:

this.Server.listen(port, config.settings.ipAddress, () => {

The error block would also need to be addressed. IMO, that doesn't make much sense to randomly set a port unless it's development so I would just log the error.

@exking
Copy link
Collaborator

exking commented Jan 24, 2018

Not sure how is that a problem? I'm using Polyglot with IPv6

$ netstat -an | grep 3000
tcp6 0 0 260X:XXXX:XXXX:f.62806 260X:XXXX:XXXX:f.3000 ESTABLISHED

@brettahale
Copy link
Author

It's a problem in docker/kubernetes -- at least i haven't come up with a workaround.

@brettahale
Copy link
Author

I may have tracked this down to USEHTTPS being defaulted true now. If I change that seeing, I get ssl cert errors. Working through this.

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

2 participants