how to change to 0.0.0.0 when Getting Started with Docker #282
-
How to change 'localhost' to '0.0.0.0' ? |
Beta Was this translation helpful? Give feedback.
Answered by
ItzCrazyKns
Jul 24, 2024
Replies: 1 comment
-
Replace the start command in the package file with |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ItzCrazyKns
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Replace the start command in the package file with
npx next dev -H 0.0.0.0 -p 3000
and then rebuild the images (if you're using docker) bydocker compose up -d --build
.