Database Connection Issue

Under the DevOps prerequisite course, followed the 2 tier application word for word and letter by letter. Why is that when i run curl http://localhost, my database refuses to connect. What can be the problem.

I’d need to see the YAML you used – the HTML output tells me there was an error, but it does not tell me why. Also using the </> key in the edit palette and pasting your YAML is much better than a photo, almost always. Also: a link to the lab you’re doing is always welcome.