Browser-sync: No External URL

Created on 21 Jan 2015  路  3Comments  路  Source: BrowserSync/browser-sync

Hello... I'm using BrowserSync with Gulp. All was going well until I got a new internet provider and new modem. Then when I started BrowserSync it would hang a minute or two and eventually start without an external url ... like this ...

[BS] Local URL: http://localhost:3000
[BS] Serving files from: ./servers/development/
[BS] Watching files...

Instead of like this ...

[BS] Local URL: http://localhost:3000
[BS] External URL: http://11.0.100.235:3000
[BS] Serving files from: ./servers/development/
[BS] Watching files...

Does anybody have any idea how I can configure my network so BrowserSync will work or how can I configure BrowserSync to work with my network?

Best wishes and thanks for such an amazing product.

Tony

Most helpful comment

My Browsersync was not showing the external url due to option online: false.

All 3 comments

can you run it again with logLevel: "debug" and paste the output please :)

Hello

I also encountered the same issue.

Here is my logs in debug mode :

[BS] [debug] +  Step Complete: Merging middlewares from core + plugins
[BS] [debug] -> Starting Step: Starting the Server
[BS] [debug] Static Server running (http) ...
[BS] [debug] Running mode: SERVER
[BS] [debug] +  Step Complete: Starting the Server
[BS] [debug] -> Starting Step: Starting the HTTPS Tunnel
[BS] [debug] +  Step Complete: Starting the HTTPS Tunnel
[BS] [debug] -> Starting Step: Starting the web-socket server
[BS] [debug] Setting Option: clientEvents - List [ "scroll", "input:text", "input:toggles", "form:submit", "form:reset", "click" ]
[BS] [debug] +  Step Complete: Starting the web-socket server
[BS] [debug] -> Starting Step: Starting the UI
[BS] [UI] Starting Step: Setting default plugins
[BS] [UI] Step Complete: Setting default plugins
[BS] [UI] Starting Step: Finding a free port
[BS] [UI] Step Complete: Finding a free port
[BS] [UI] Starting Step: Setting options also relevant to UI from BS
[BS] [UI] Step Complete: Setting options also relevant to UI from BS
[BS] [UI] Starting Step: Setting available URLS for UI
[BS] [debug] Getting option via path: urls
[BS] [UI] Step Complete: Setting available URLS for UI
[BS] [UI] Starting Step: Starting the Control Panel Server
[BS] [UI] Using port 3001
[BS] [UI] Step Complete: Starting the Control Panel Server
[BS] [UI] Starting Step: Add element events
[BS] [UI] Step Complete: Add element events
[BS] [UI] Starting Step: Registering default plugins
[BS] [debug] Getting option via path: urls,external
[BS] [debug] Getting option via path: urls,local
[BS] [UI] Step Complete: Registering default plugins
[BS] [UI] Starting Step: Add options setting event
[BS] [UI] Step Complete: Add options setting event
[BS] [debug] +  Step Complete: Starting the UI
[BS] [debug] -> Starting Step: Merge UI settings
[BS] [debug] Setting Option: urls - Map { local: "http://localhost:3000/compte/login?redirectionUrlHippique=https%3A%2F%2Fwww.pmu.fr%2Fturf%2F&redirectionUrlSportif=https%3A%2F%2Fparis-sportifs.pmu.fr%2F&redirectionUrlPoker=https%3A%2F%2Fpoker.pmu.fr%2F", ui: "http://localhost:3001" }
[BS] [debug] +  Step Complete: Merge UI settings
[BS] [debug] -> Starting Step: Init user plugins
[BS] [debug] Setting Option: userPlugins - 
[BS] [debug] +  Step Complete: Init user plugins
[BS] Access URLs:
 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 Local: http://localhost:3000/compte/login?redirectionUrlHippique=https%3A%2F%2Fwww.pmu.fr%2Fturf%2F&redirectionUrlSportif=https%3A%2F%2Fparis-sportifs.pmu.fr%2F&redirectionUrlPoker=https%3A%2F%2Fpoker.pmu.fr%2F
 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    UI: http://localhost:3001
 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[BS] Serving files from: app
[BS] Watching files...

Running "watch" task
Waiting...

I runned Browsersync throught a virtual machine while the host is windows

My Browsersync was not showing the external url due to option online: false.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hgl picture hgl  路  3Comments

codeofsumit picture codeofsumit  路  3Comments

adjavaherian picture adjavaherian  路  4Comments

jitendravyas picture jitendravyas  路  4Comments

npearson72 picture npearson72  路  3Comments