Sendgrid not working

I just started using discourse with GCP (Google Cloud Platform) on ubuntu. I reinstalled discourse freshly like, 2-3 times? And everytime I try sendgrid doesn’t work. It worked once, when discourse was installed as a test with docker. I also tried using port 2525 but that doesn’t work either.

Have you verified whether your server has outbound access on that port?

Unlike DigitalOcean, Google Cloud has network policy in place between the servers they host and the outside world.

It has outbound access, and it still fails. Don’t know why.

Have you tried testing via Telnet?

No, I will try testing it through telnet now.

It works, but it still doesn’t send.

Alright, I have fixed the problem. Turns out I didn’t allow it on the Ubuntu firewall.

4 Likes