【问题标题】:Sendgrid on Google Compute Engine from port 465 or 587从端口 465 或 587 在 Google Compute Engine 上的 Sendgrid
【发布时间】: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


    【解决方案1】:

    据我所知,GCE只支持2525。

    TLS 应该在端口 2525 上工作。TLS 更新更频繁,并且(到目前为止)发生的严重安全事件(如 POODLE)较少,因此应该首选 TLS。

    GCE 不会以任何特定方式限制您在端口 2525 上的速率。

    【讨论】:

    • 好的,感谢您的详尽回答。快速跟进:在您看来,我不应该担心没有 SSL,因为 TLS 一样安全?
    • 是的,TLS 本质上是 SSL 的更新版本。
    猜你喜欢
    • 2013-03-25
    • 2015-02-17
    • 2012-07-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-01-23
    • 2015-05-27
    相关资源
    最近更新 更多