Can a Heroku app use different/multiple ports?
Web services on Heroku normally use the PORT environment variable, but I want to run a custom mail server on Heroku. So I need to expose 2 ports, preferably 110 and 25, but I can live with alternatives. Is it possible?
不,只是对heroku代理(proxy.heroku.com)运行一些快速测试,我只能连接到端口80和443.作为heroku不提供任何POP / SMTP,它们没有意义,他们有恐怕那些港口开放。
Dotcloud允许:https://github.com/pepijndevos/Twemail
Custom mail server? Nope.
Heroku's mail services? Yes, check out the "Add-On" link for cloudmailin, mailgun and sendgrid. Basic service is free (they still want your credit-card and hope you exceed free quota).
链接地址: http://www.djcxy.com/p/56070.html