Starting socket server in ruby on rails on cloud environments (heroku)

Posted by ElTren on Stack Overflow See other posts from Stack Overflow or by ElTren
Published on 2010-05-05T02:09:48Z Indexed on 2010/05/05 2:18 UTC
Read the original article Hit count: 187

Filed under:
|

Hi, I'm using heroku, and I can push a Ruby on Rails app just fine, I'm trying to convert this to a Socket server, basically I would need to bind to an open port, in this case, I know Heroku only does 80 22 and 443.

Is it possible to bind to port 80 on those environments?

Also, how would I setup the entry point for this socket server, all I know is that when script/server it boots up the app.

Do I have to put the function call there? How can a socket server start instead of the rails app on top of whatever webserver heroku has.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about heroku