I created a droplet recently (Ubuntu Docker 18.06.1~ce~3 on 18.04). And I realize emails couldn’t be sent by my application.
I’m using SendGrid’s API.
It works perfectly from my local machine.
I can’t even ping api.sendgrid.com from my droplet.
It works well if I try locally:
$ ping api.sengrid.com PING api.sengrid.com (188.8.131.52): 56 data bytes 64 bytes from 184.108.40.206: icmp_seq=0 ttl=50 time=85.898 ms 64 bytes from 220.127.116.11: icmp_seq=1 ttl=50 time=79.936 ms 64 bytes from 18.104.22.168: icmp_seq=2 ttl=50 time=112.295 ms
Why is that endpoint not reachable ? I tried other endpoints without issues.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!