SQL can't connect to server

Hello, I have just downloaded POPSQL and and created a simple table. The problem is I can’t run the code and I get an error that I can’t connect to server even though POPSQL has connected to my database.
Any ideas?