BrowserSync is no longer linking to browser


  • | 2407 points

    When using using browsersync in a laravel project it no longer brings up my project in a new browser. Instead it keeps bringing up the page in the image below.

    I pass a proxy name like this mix.browswersync('projectname.text'); . It has always worked until recently. I recently installed Windows Installer and I think it has happened since then. I have since uninstalled Windows Installer and disabled Internet Information Services, but still no luck.

    I can open my projects into a browser from Laragon > www > Project name without issue and it uses the virutal hostname.

    Any ideas?

    Thanks

    0_1616450491365_upload-3ca413cc-2f55-415a-ac4e-938be3c87945


  • | 744 points

    Have you checked your hosts file if any leftover ports from that Windows Installer?
    C:\Windows\System32\drivers\etc\hosts


  • | 2407 points

    I got it working. I tried a few things but I think what made it work was specifying the port with the name.

    mix.browswersync('projectname.text':8080);

    This matched the port being used by nginx in Laragon.


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.