How to Allow Your JavaScript Web App to Be Accessed by Other Devices on Windows
Source: Dev.to
Steps
-
Open Windows Firewall settings
Settings → Search “Firewall” → “Firewall & network protection”. -
Allow the Node.js executable
- Click “Allow an app through firewall”.
- Choose “Change settings”.
- Find and check
node.exe(you may need to browse to the Node.js installation folder if it isn’t listed).

-
Run your app (e.g., from VS Code)
npm run dev # or: pnpm dev -
Note the local address shown in the terminal (e.g.,
http://192.168.0.6:3000). -
Access the app from another device on the same Wi‑Fi or LAN: open a browser and navigate to the noted address, such as
http://192.168.0.6:3000.