The setup I am using, is I have a Node.js, express server that is listening on port 1337
using the host 127.0.0.1
.
I then have Webpack dev server running on port 3000
and it proxies all traffic from 3000
to 1337
, the server. Webpack dev server runs as a default on host 127.0.0.1
and for security reasons, other computers internally cannot access any server from that host.
As a fix, I had to change the (default) host
to 0.0.0.0
in order to then access the internal ip and port (http://192.168.100.54:3000
).
References: