-
-
Notifications
You must be signed in to change notification settings - Fork 867
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
Fix default host #1830
base: master
Are you sure you want to change the base?
Fix default host #1830
Conversation
Default host is 0.0.0.0 by doc
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/jared/razzle/FmsTdbrxi4oqJ4rpmGXTNdo3BFf6 |
I think update docs instead of the code. |
@fivethreeo ok, done |
If you're running your site in a container/vm, your host will only be able to connect to the container if the container is listening on If you're not running inside a VM, using More info: https://superuser.com/questions/949428/whats-the-difference-between-127-0-0-1-and-0-0-0-0 |
@gregmartyn it's pr changes only md files for consistency |
I don't see how it's making it consistent though. Razzle listens on
which is https://expressjs.com/en/api.html#app.listen In most operating systems, listening to the unspecified IPv6 address (::) may cause the net.Server to also listen on the unspecified IPv4 address (0.0.0.0). |
Oh I see what you mean. Sorry! devServer uses So we have a problem. The dev server is defaulting to Sounds to me like a separate var is in order. |
As long as it describes the behaviour it is all ok. btw. I am close to stopping razzle development unless someone shares in the development. Considering just using next or plain webpack. |
Next.js dictates how to organize a project ( routes example |
Hi! Thank you, for your work! Original: #1159 (comment) |
Default host is 0.0.0.0 by doc