Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7633575
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T06:55:25+00:00 2026-05-31T06:55:25+00:00

Hi im trying to deploy my django application on heroku , i am having

  • 0

Hi im trying to deploy my django application on heroku ,
i am having the error as below, i have already set my PRODUCTION_MODE=true in the code, however it still tries to run at 127.0.0.1:8000, and i am not sure where to set it

2012-03-08T09:46:06+00:00 heroku[web.1]: Starting process with command `python platformsite/manage.py runserver`
2012-03-08T09:46:08+00:00 app[web.1]: Validating models...
2012-03-08T09:46:08+00:00 app[web.1]: 
2012-03-08T09:46:09+00:00 app[web.1]: 0 errors found
2012-03-08T09:46:09+00:00 app[web.1]: Django version 1.4c1, using settings 'platformsite.settings'
2012-03-08T09:46:09+00:00 app[web.1]: Development server is running at http://127.0.0.1:8000/
2012-03-08T09:46:09+00:00 app[web.1]: Quit the server with CONTROL-C.
2012-03-08T09:46:09+00:00 heroku[web.1]: Error R11 (Bad bind) -> Process bound to port 8000, should be 25162 (see environment variable PORT)
2012-03-08T09:46:09+00:00 heroku[web.1]: Stopping process with SIGKILL
2012-03-08T09:46:10+00:00 heroku[web.1]: Process exited with status 137
2012-03-08T09:46:10+00:00 heroku[web.1]: State changed from starting to crashed
2012-03-08T09:46:11+00:00 heroku[router]: Error H10 (App crashed) -> GET pure-fire-3271.herokuapp.com/ dyno= queue= wait= service= status=503 bytes=

how do i set it to the correct port/address values?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T06:55:27+00:00Added an answer on May 31, 2026 at 6:55 am

    What do you have in your Procfile? You should ensure that your web process is using $PORT when defining the process:

    For instance

    web: python my_app/manage.py run_gunicorn -b "0.0.0.0:$PORT"
    

    etc

    You shouldn’t need to do anything config wise from the default to get a simple Django app working.

    More info here: http://devcenter.heroku.com/articles/django

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to deploy a django application for production on apache mod-wsgi. I have
I am trying to deploy a Django application in a production environment and I
I'm trying to deploy Django to Heroku (cedar stack) with uwsgi as my app
I'm trying to deploy a django app with fabric and get the following error:
I have been trying to integrate Google calendar into a Django application running on
I'm trying to deploy my mvc app into my large web application. I have
I am trying to deploy my django application to VPS but I get 505-
I am trying to deploy a Django app to Heroku but I get this
I got this error messages while I am trying to deploy my django app
I'm trying to deploy my Django application on my linode server with apache and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.