Unable to access site using BrowserSync proxy
I've been trying to use BrowserSync to speed up development, and am able to access the site regularly at localhost/mysite but I've been unable to access it through a BrowserSync proxy. Here's my NPM command:
browser-sync start --proxy localhost/mysite
If I try accessing the BrowserSync proxy, Chrome attempts to load the page for a while, before displaying this error:
It's the same if I try the external link too. Anyone got any ideas?
Laragon version + port info, if needed:
Laragon is creating automatic virtual host.
For me the problem was that browsersync was proxying wrong url.
You can try to run command with virtual host.
browser-sync start --proxy mysite.test