Initial situation
Have a Laravel App on a Vagrant Box, Ubuntu 20.04 and Nginx, installed with Homestead.
I use browsersync to watch for file changes.
Issue
Suddenly I get a 502 Bad Gateway error at the URL localhost:3000, when npm run watch
is running.
However if i do php artisan serve
, the provided local url 127.0.0.1:8000 and the myproject.test domain are working correct if i open one of the url's in a browser.
But browsersync don't update this url's, it syncs only over localhost:3000.
Allready tried
vagrant destroy
&vagrant up
Question
What can i do, to find out why i'm getting this error at localhost:3000 and at 127.0.0.1:8000 not?