Starting socket server in ruby on rails on cloud environments (heroku)
- by ElTren
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.