Skip to content Skip to sidebar Skip to footer

Heroku And Twisted

I am trying to learn Twisted, a Python framework, and I want to put a basic application online that, when it receive a message sends it back. I decided to use Heroku to host it, an

Solution 1:

I'm not very familiar with Twisted, but I'm not sure what you're trying to do is supported on Heroku. Heroku currently only supports HTTP[S] requests and not raw TCP. There are more details in the answers to this question.

If you wanted to connect to your app, you should use the myapp.herokuapp.com host name or any custom domain that you've added.

Solution 2:

"Pure Python applications, such as headless processes and evented web frameworks like Twisted, are fully supported on Cedar."

Reference: https://devcenter.heroku.com/articles/python-support

Post a Comment for "Heroku And Twisted"