Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
masukomi
on Feb 9, 2012
|
parent
|
context
|
favorite
| on:
Perl on Heroku
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?
bogdanL
on Feb 9, 2012
[–]
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.
Loic
on Feb 9, 2012
|
parent
[–]
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: