News for hackers. Stuff that matters.
Re:Perl on Heroku by masukomi on Thursday February 09, 2012 @08:21AM (#3570988)
does anyone know if an alternate port has to be specified with this? Is there a reason it can't just be run on 80?
Re:Perl on Heroku by bogdanL on Thursday February 09, 2012 @08:41AM (#3571052)
The example gives port 3000 as an example for running it on your localhost. Otherwise you need super-user permissions to start a server on port 80.

But on Heroku's Cedar stack, it will run on port 80.

Re:Perl on Heroku by Loic on Thursday February 09, 2012 @09:06AM (#3571138)
Maybe 80, maybe not, it will run on port $PORT which is provided at runtime by Heroku. Practically you do not need to worry about it, Heroku will take care to route the request from port 80 on the outside to port $PORT at the dyno level.