You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[solved] Can't connect to Browser Sync Server from network #2054
I recently tried to test my Web App with Browser sync and everything worked just fine when I was accessing it on the same PC (localhost and the external IP worked both). But I also tried to access it from my phone connected to the same network. I just got a timeout message in Chrome Mobile and couldn't connect to it (No error in Bash). Running it natively on Windows worked and on an Ubuntu VM too.
I'm using Microsoft Windows [Version 10.0.15063.250]
Edit: It's still not working on new insider build 16184
Edit 2:
It's working after opening TCP Port 3000 in Windows Firewall :)
Reacted by Jonas Hallin, Kelli Rockwell, Hansard Society, Nikolas Evers, ondrique, Odisseya, hzp, Sergey Bodnaryuk, Achraf Jeday and Ruslan
Hi Marius Niveri (@m4r1vs) -- is there any chance that these connections are being blocked by your firewall configuration? WSL currently doesn't always interact well with firewalls; even Windows Defender has some known limitations, and there are major bugs with older versions of some third-party firewalls.
(Other non-firewall-related networking issues have also been reported against WSL; I don't know their status. But I figure it's worth double-checking about the firewall first.)
Reacted by Marius Niveri, Nikolas Evers, Vilius Linge, Roberth Pereira, Delali, Sergey Bodnaryuk, Oksana Romaniv, maks-dwarf, Jérôme Pott, Abraham and 3 more
Reacted by Roberth Pereira, Andre Esteves Perrone and Dione-stack
Thank you Adam Seering (@aseering) ,
It was the Windows Build in Firewall, I've deactivated both and it worked great. Do you know if there's anything planned to fix that in the future?
changed the title [-]Can't connect to Browser Sync Server from network[/-][+][solved] Can't connect to Browser Sync Server from network[/+]on May 5, 2017
My problem was fixed by doing this:
WSL2 does not share the Windows host IP (192.168.40.x) directly. Even if your firewall is open and the port is listening, WSL2 is in a virtualized network and cannot be reached from other devices on your LAN by default.
In Powershell do:
wsl hostname -I
Which gave 172.26.203.191
Then in Powershell (as admin) do:
Activity
aseering commentedon May 5, 2017
Hi Marius Niveri (@m4r1vs) -- is there any chance that these connections are being blocked by your firewall configuration? WSL currently doesn't always interact well with firewalls; even Windows Defender has some known limitations, and there are major bugs with older versions of some third-party firewalls.
(Other non-firewall-related networking issues have also been reported against WSL; I don't know their status. But I figure it's worth double-checking about the firewall first.)
m4r1vs commentedon May 5, 2017
Thank you Adam Seering (@aseering) ,
It was the Windows Build in Firewall, I've deactivated both and it worked great. Do you know if there's anything planned to fix that in the future?
[-]Can't connect to Browser Sync Server from network[/-][+][solved] Can't connect to Browser Sync Server from network[/+]PavalEscoba commentedon Oct 13, 2017
it helped. thank you:)
roberthpereira commentedon Jun 2, 2018
Adam Seering (@aseering) thank you
yosrimhamdi commentedon Dec 23, 2020
change your network from public to private. this has fixed my problem
mxxrten commentedon May 27, 2025
My problem was fixed by doing this:
WSL2 does not share the Windows host IP (192.168.40.x) directly. Even if your firewall is open and the port is listening, WSL2 is in a virtualized network and cannot be reached from other devices on your LAN by default.
In Powershell do:
Which gave 172.26.203.191
Then in Powershell (as admin) do: