Set my folder to 777 on localhost but still getting cannot connect to GPM

keep getting this message, any ideas please.

I’ve read the documentation for Grav (troubleshooting) but am unsure about using the following script:

#!/bin/sh
chown joeblow:staff .
chown -R joeblow:staff *
find . -type f | xargs chmod 664
find ./bin -type f | xargs chmod 775
find . -type d | xargs chmod 775
find . -type d | xargs chmod +s
umask 0002

Are you behind a proxy?

Or maybe your missing SSL or Curl support?