# Sendgrid not working

**URL:** https://meta.discourse.org/t/sendgrid-not-working/145472
**Category:** Self-hosting
**Created:** [March 24, 2020, 11:01pm UTC](https://meta.discourse.org/t/sendgrid-not-working/145472 "2020-03-24T23:01:23Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Adam\_Indrigo](https://avatars.discourse-cdn.com/v4/letter/a/9f8e36/32.png) [@Adam\_Indrigo](https://meta.discourse.org/u/Adam_Indrigo)
#### Post date: [March 24, 2020, 11:01pm UTC](https://meta.discourse.org/t/sendgrid-not-working/145472/1 "2020-03-24T23:01:23Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [March 25, 2020, 12:17am UTC](https://meta.discourse.org/t/sendgrid-not-working/145472/2 "2020-03-25T00:17:22Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Adam\_Indrigo](https://avatars.discourse-cdn.com/v4/letter/a/9f8e36/32.png) [@Adam\_Indrigo](https://meta.discourse.org/u/Adam_Indrigo)
#### Post date: [March 25, 2020, 12:28am UTC](https://meta.discourse.org/t/sendgrid-not-working/145472/3 "2020-03-25T00:28:10Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [March 25, 2020, 12:32am UTC](https://meta.discourse.org/t/sendgrid-not-working/145472/4 "2020-03-25T00:32:19Z")

</div>

Have you tried testing via Telnet?

---

<div class="post-metadata">

### Author: ![Adam\_Indrigo](https://avatars.discourse-cdn.com/v4/letter/a/9f8e36/32.png) [@Adam\_Indrigo](https://meta.discourse.org/u/Adam_Indrigo)
#### Post date: [March 25, 2020, 1:25am UTC](https://meta.discourse.org/t/sendgrid-not-working/145472/5 "2020-03-25T01:25:37Z")

</div>

No, I will try testing it through telnet now.

---

<div class="post-metadata">

### Author: ![Adam\_Indrigo](https://avatars.discourse-cdn.com/v4/letter/a/9f8e36/32.png) [@Adam\_Indrigo](https://meta.discourse.org/u/Adam_Indrigo)
#### Post date: [March 25, 2020, 1:30am UTC](https://meta.discourse.org/t/sendgrid-not-working/145472/6 "2020-03-25T01:30:51Z")

</div>

It works, but it still doesn’t send.

---

<div class="post-metadata">

### Author: ![Adam\_Indrigo](https://avatars.discourse-cdn.com/v4/letter/a/9f8e36/32.png) [@Adam\_Indrigo](https://meta.discourse.org/u/Adam_Indrigo)
#### Post date: [March 25, 2020, 1:39am UTC](https://meta.discourse.org/t/sendgrid-not-working/145472/7 "2020-03-25T01:39:33Z")

</div>

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

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [April 24, 2020, 1:39am UTC](https://meta.discourse.org/t/sendgrid-not-working/145472/8 "2020-04-24T01:39:44Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
