How to Allow Your JavaScript Web App to Be Accessed by Other Devices on Windows

Published: (December 31, 2025 at 03:33 PM EST)
1 min read
Source: Dev.to

Source: Dev.to

Steps

  1. Open Windows Firewall settings
    Settings → Search “Firewall” → “Firewall & network protection”.

  2. 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).

    Node.js on Windows Firewall Setup

  3. Run your app (e.g., from VS Code)

    npm run dev   # or: pnpm dev
  4. Note the local address shown in the terminal (e.g., http://192.168.0.6:3000).

  5. 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.

Back to Blog

Related posts

Read more »

The Web Ecosystem Civil War

markdown !Javadhttps://media2.dev.to/dynamic/image/width=50,height=50,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads...

React Coding Challenge : Card Flip Game

React Card Flip Game – Code tsx import './styles.css'; import React, { useState, useEffect } from 'react'; const values = 1, 2, 3, 4, 5; type Card = { id: numb...