Replies: 1 comment
-
Sorry, this is not related to webpack/webpack-dev-server, I recommended to ask this on stackoverflow or look at WSL/nginx documentation, we don't make magic here, when you write 0.0.0.0, we just pass this value directly to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The webpack config:

The issue is with 'webpack serve' command.
My Nginx is running inside WSL, it proxy_pass to the port on WSL interface
'webpack serve' even with config above, seems binding to Windows interface only and Nginx can't proxy_pass to.
I'm clear that 'webpack serve' doesn't bind to WSL interface because Nginx can't proxy_pass to the app with:
proxy_pass http://localhost:8080
But when using Windows IP (assigned by wi-fi switch) then Nginx can proxy_pass to, eg.:
proxy_pass http://192.168.1.10:8080
Beta Was this translation helpful? Give feedback.
All reactions