Browser-sync: Some devices can't connect to external URL

Created on 13 Jan 2015  路  6Comments  路  Source: BrowserSync/browser-sync

Hi, thanks for the amazing tool! Such a huge timesaver.

One issue I'm having is that some devices connect to the external URL and some won't. Maybe there is something very simple that I am overlooking. I am using it with Gulp.

Localhost works, as does using the external url on desktop
iphone5/iOS8 connects
iphone4/iOS8 does not
iphone4/iOS6 does not
iPad2/iOS8 connects
Galaxy SII does not
Nexus does not

All connected to the same WiFi and load other sites as expected. Node, npm, gulp, browser sync are all up to date. No special customizations in the gulp file for browser sync.

Any ideas? Thanks for your time.

Most helpful comment

Sounds like BrowserSync is not selecting the correct IP.

Use a tool such as https://github.com/shakyshane/dev-ip

and if multiple IP's are reported, try each in turn as the 'host' option http://www.browsersync.io/docs/options/#option-host

All 6 comments

well, I've narrowed it down to the wifi connection. I have two networks I can connect to, one open and one secure.

I cannot connect via the open network.
I can connect via the secure network.

I've enabled the tunnel feature for now, so I'm able to test.

Curious to know if anyone has info about open vs. secure.

I have a similar problem, do you have an infinite loading on device that fail connecting ?

No - it attempts to load for 30secs to 1 minute or so before stopping.

Sounds like BrowserSync is not selecting the correct IP.

Use a tool such as https://github.com/shakyshane/dev-ip

and if multiple IP's are reported, try each in turn as the 'host' option http://www.browsersync.io/docs/options/#option-host

Was having the same problem, this worked for me. Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

npearson72 picture npearson72  路  3Comments

hgl picture hgl  路  3Comments

pensierinmusica picture pensierinmusica  路  4Comments

Zver64 picture Zver64  路  3Comments

demisx picture demisx  路  4Comments