You are wrong. I do this : “heroku labs:enable websockets” after git push heroku master. besides the “process.*env*.*PORT*”, or not, I see this: http://stackoverflow.com/questions/6223867/can-i-set-up-socket-io-chat-on-heroku
Em terça-feira, 10 de junho de 2014 23h07min22s UTC-3, Morten Bagai escreveu: > > Hi, > > Did you make sure to enable websockets for your Heroku app when you > created it? If not, try following the instructions here: > https://devcenter.heroku.com/articles/heroku-labs-websockets. > > I don't think you should have to specify the port anywhere in the client > code. > > Best, > > Morten > > > On Tue, Jun 10, 2014 at 6:55 PM, neuber jose sousa <neube...@gmail.com > <javascript:>> wrote: > >> I'm trying to put this application ( >> http://googlecreativelab.github.io/coder-projects/projects/blinky_lights/) >> on heroku >> >> e.g.:. this link (*fierce-shelf-9252.herokuapp.com* >> <http://fierce-shelf-9252.herokuapp.com/> >> >> it already runs but when I click blink_ligths is only connecting, >> connecting ... I do not know the places that I have put the process. >> *env*.*PORT* >> >> I have put but not a few who have and websocket socket io javascrit >> files (js) >> >> Help me please >> >> -- >> -- >> You received this message because you are subscribed to the Google >> Groups "Heroku" group. >> >> To unsubscribe from this group, send email to >> heroku+un...@googlegroups.com <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/heroku?hl=en_US?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "Heroku Community" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to heroku+un...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- -- You received this message because you are subscribed to the Google Groups "Heroku" group. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/heroku?hl=en_US?hl=en --- You received this message because you are subscribed to the Google Groups "Heroku Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to heroku+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.