Prabuddha Kulatunga
Prabuddha Kulatunga

Reputation: 147

Heroku port number for a given application

how to view heroku port number for a given application?

I tried to use "heroku config:get PORT" command.but windows command prompt gave the result as " ! No app specified ". what should I do?

Upvotes: 1

Views: 2275

Answers (1)

Damien MATHIEU
Damien MATHIEU

Reputation: 32629

The port number is not per-application, but per-dyno. Only your dyno has that information.
And you don't need to get it externally either. No matter which port is set for that dyno, your app will always be available externally on port 80.

Upvotes: 2

Related Questions