Closed Intellimatic closed 6 years ago
have you try HOST=0.0.0.0
in .env ?
@Skalv I have indeed, and also allowed all inbound/outbound TCP and UDP connections on the required port - still no luck... Firewall is also configured to allow connections for Node.js.
I am circumventing the problem by using ngrok at the moment.
In your .env file, try replacing HOST=localhost to HOST=(ip of your machine). Then access that IP from another device.
It would be a really amazing feature if nuxt dev
(or yarn dev
) would display the actual IP.
Hi guys,
I'm running Adonuxt on Win 10, and I can't seem to get to connect to my app from other devices on the same network. I have tried multiple things (changing the host IP address in the .env file, adding connect() listener to server.js, mapping ports in my hosts file, etc - pretty much everything you'd do to get access to Express on local network), but no luck so far. Any ideas where I could be going wrong?