为什么代客打开*项目名称*在浏览器中给我502错误?

I'm running valet open *project-name* to display the project in my view but instead I get redirected to a page that's giving me a 502 error.

I've tried running valet start (all it did was restart nginx), ran valet open *project-name* again but I got the 502 error.

I also tried running valet install which installed dnsmasq via brew. After this I ran valet open *project-name* again but I got the same 502 error.

What can I do to fix this?