Hi Ben,
In regard to the .env.local file everything checks out ok. The file has the correct value url for backend. Backend of the wordpress is working fine.
The error comes up when I click on OPEN SITE in local. The browser opens and tries to load the website front end. This is when the error is displayed.
Here, I am also attaching the output of the SHOW OUTPUT window. All seems fine there.