Ask Your Question
0

How can access horizon from a local computer?

asked 2014-07-08 03:55:32 -0500

anhdenday gravatar image

updated 2014-07-08 03:57:01 -0500

Hi All, I deploying horizon from the source code, it's ok

Django version 1.5.8, using settings 'openstack_dashboard.settings'
Development server is running at http://127.0.0.1:8000/

After finishing deploy, i cannot access horizon by IP address from my local computer, how can i config horizon to access from another computer by IP address. Because I cannot access by http://127.0.0.1:8000/ or localhost:8000 from local computer!

Thanks you so much

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-07-08 04:39:54 -0500

jpichon gravatar image

If you want the Django development server to be accessible from your network, you can run it with the following command:

$ python manage.py runserver 0.0.0.0:8000

(or ./run_tests.sh -m runserver 0.0.0.0:8000, if you wanted to use the virtual environment instead)

See https://docs.djangoproject.com/en/1.6... for more information. Don't forget to open port 8000 on the firewall for the host machine, too!

edit flag offensive delete link more

Comments

Thanks you so much

anhdenday gravatar imageanhdenday ( 2014-07-08 05:17:39 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-07-08 03:55:32 -0500

Seen: 163 times

Last updated: Jul 08 '14