Getting 502 error when setting up Bedrock on Local site

I am setting up my local Wordpress site and I am getting 502 error.

I followed the Flywheel and Bedrock tutorial: https://www.youtube.com/watch?v=wNSaP-O5wrk&t=336s

I am using latest Local by flywheel
I am using Ubuntu 20.04
I checked the router error log and found the following:

2021/08/10 17:51:34 [error] 20822#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: ::1, server: bedrock.local, request: “GET / HTTP/1.1”, upstream: “http://127.0.0.1:10004/”, host: “bedrock.local”

2021/08/10 17:51:34 [error] 20822#0: *3 connect() failed (111: Connection refused) while connecting to upstream, client: ::1, server: bedrock.local, request: “GET /favicon.ico HTTP/1.1”, upstream: “http://127.0.0.1:10004/favicon.ico”, host: “bedrock.local”, referrer: “http://bedrock.local/

2021/08/10 17:52:45 [error] 20976#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: ::1, server: bedrock.local, request: “GET / HTTP/1.1”, upstream: “http://127.0.0.1:10004/”, host: “bedrock.local”

Thank you!

I managed to solve this problem.
I just needed to add “” fot site.conf file root directory

That’s it, really easy solution :smile:

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.