-
Notifications
You must be signed in to change notification settings - Fork 20
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
Default bind interface and port #10
Comments
I suppose that's fair. I was intending that to be a comically obvious "change me" value, but using something that actually works probably makes more sense.
Can you elaborate a bit on this? Maybe you're experiencing the same thing mentioned in #4? I was running this on a digital ocean box, so running the Hapi server on localhost worked for me... which, maybe says something about the security of the box I'm running on? :X |
|
And yes, this is actually the same issue as #4. The interface used to access an Heroku server is not localhost, thus why using 0.0.0.0 fixes this issue on Heroku too. |
The default config is using 666 as the port; doesn't that require root/sudo privilege? I suggest using another example port instead.
Also, why is Hapi.Server binding to localhost? I had to change that to 0.0.0.0 in slack.js in order to be able to access that web server from outside.
(I can submit a pull request; just wanted to discuss those before I did.)
The text was updated successfully, but these errors were encountered: