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 5984285
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T22:21:12+00:00 2026-05-22T22:21:12+00:00

I am experimenting with django and I throw the code on my server like

  • 0

I am experimenting with django and I throw the code on my server like explained in the first chapters of the django book 2.0.

I have apache running on this server, too (port 80). If I stop apache I can start my django site by calling

sudo python manage.py runserver 0.0.0.0:80

If I access it from another machine by

http://myservername:80

it works fine. Now, apache is running an important page, and I don’t want to let apache stoped. How do I make mysite available on another port?

Edit: I’ll try to explain more:

When apache runs, typing into the adressfield of my browser, shows me the “important wepage”.

Starting my django test project with

sudo python manage.py runserver 0.0.0.0:anotherport

and accessing trying to acces it by

http://ipadressofserver:anotherport

does not work.

If apache is tuned off, and I start my django project by

sudo python manage.py runserver 0.0.0.0:80

I can access it by

http://myservername
http://myservername:80 (the browser changes this to http://myservername/
http://myserverIP and http://myservrIP:80 (The latter resolves in the former).

I am not experienced in Serveradministration so please ask me, if there is something specific I can tell you, to help me solve the problem, please ask me, and I’ll provide the information – if possible.

  • 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-22T22:21:13+00:00Added an answer on May 22, 2026 at 10:21 pm

    Specify a different port when starting the dev server:

    $ python manage.py runserver 0.0.0.0:8000
    

    and connect to the site via:

     http://myserverip:8000
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i'm experimenting with django and the builtin admin interface. I basically want to have
I have recently started experimenting with Django for some web applications in my spare
While experimenting with this question on collections in Spring.NET , I discovered that Spring
I have been experimenting with woopra.com A web analytics tool. Which requires a piece
I'm currently experimenting with build script, and since I have an ASP.net Web Part
I've been experimenting with Adobe Flex recently. Being a long-time server-side web app developer,
I have been experimenting with WPF and rendering strict XAML markup in a web
I recently started experimenting with Python decorators (and higher-order functions) because it looked like
(Django 1.x, Python 2.6.x) I have models to the tune of: class Animal(models.Model): pass
I have two models, a MainModel and a related InlineModel that i'd like to

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.