【发布时间】:2015-10-16 21:19:47
【问题描述】:
我正在使用 rails 4 应用程序并尝试通过 SendGrid 发送电子邮件。我有从 GCE 实例运行的应用程序。
在阅读 this google post 关于通过 sendgrid 发送电子邮件后,我注意到他们只使用端口 2525。我想通过端口 465(或 587)连接,因为在阅读 this sendgrid post 后我了解到 SendGrid 只允许通过 SSL 连接这个港口。也推荐587端口to avoid any rate limiting that your server host may apply.
有没有办法在 GCE 实例上使用 2525 以外的端口?
Google Compute Engine does not allow outbound connections on ports 25, 465,
and 587 but you can still set up your instances to send mail through ports 587
and 465 using servers provided through partner services, such as SendGrid.
谢谢。
【问题讨论】:
标签: ruby-on-rails port google-compute-engine sendgrid