502 error after restarting Ghost

I installed Ghost today and got it up and running. I updated the email in the config file and restarted Ghost. Ghost doctor showed everything running as it should but I get a 502 error.

Ghost v4.37.0
Node v16.14.0
Ubuntu 20.04

Is Ghost running? You can type ghost status to find out (ghost doctor will return results whether or not the server is running.)

Use ghost start to start the server.