Ask Your Question
0

Accesss Horizon from outside?

asked 2015-01-22 01:31:01 -0500

djepnguyen gravatar image

Dear all, i have installed openstack successfully. but now i want to access horiozn from outside. any one can help me. here is the some information: my controller node ( which was installed Horizon) has ip : 192.168.5.21 here is the horizon when i access locally: image description . here is the NAT table. image description . please see the table. i adready added 3 port for controller node (192.168.5.21) port 21 for access by SSH and it's OK. port 80 and 6080 for access Horizon but not successful. 1.55.102.211 is the WAN ip of the openstack system image description . image description and remember that i can SSH and use windows remote successfully to ensure that all NAT configure and firewall are OK. do you have any idea for this case. Thanks !

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-01-22 19:13:47 -0500

djepnguyen gravatar image

anyone can help me ?

edit flag offensive delete link more
0

answered 2015-01-22 23:53:29 -0500

http to 6080 just doesnt work like that for vnc console.

If you can telnet to port 80 of 1.55.102.211 (telnet 1.55.102.211 80) and run wget http://1.55.102.211 with a response the the NAT is working.

The only other problem that I can think of in the scenario is that in /etc/openstack_dashboard/local_settings.py there is an directive:

# https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts
#ALLOWED_HOSTS = ['horizon.example.com', ]

You can set that to * to allow from all hosts. ALLOWED_HOSTS = *

local_settings.py might also not be /etc/openstack_dashboard , depending on how you installed horizon.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2015-01-22 01:31:01 -0500

Seen: 300 times

Last updated: Jan 22 '15