There are some limitations with socket communication check out this article https://devcenter.heroku.com/articles/realtime-polyglot-app-node-ruby-mongodb-socketio#pushing_messages_to_the_browser_with_socketio
-- Richard Schneeman On Monday, April 16, 2012 at 5:17 AM, Yusuf X wrote: > I have a server that listens with socket.io (http://socket.io) on > process.env.port , but the port changes every time, so how can I get the > client to connect to it? Is there a way to pin the server port to an > unchanging number? I tried "heroku config:add PORT=12345" but that doesn't > seem to have any effect. TIA > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/heroku/-/K8Fh_clPAO8J. > To post to this group, send email to [email protected] > (mailto:[email protected]). > To unsubscribe from this group, send email to > [email protected] > (mailto:[email protected]). > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
