If your security group settings are not set correctly, you might have no access to some ports. For example, you can ping and ssh the instance, however are not able to use ports like 80. This is due to security groups.
Get Security Group Info
microstack.openstack security group list
Get your security group information. This list you the total security groups.
+--------------------------------------+---------+------------------------+----------------------------------+------+
| ID | Name | Description | Project | Tags |
+--------------------------------------+---------+------------------------+----------------------------------+------+
| 0e474f30-839b-4d32-a037-1440cef8966d | default | Default security group | 463a8828d5bb468c8b4b832c02d3a9c0 | [] |
| dd2f2ac3-d31c-4dac-bc13-069dd5f8c0c9 | default | Default security group | 2d79e3e32a1d4a1399061025a5071322 | [] |
+--------------------------------------+---------+------------------------+----------------------------------+------+
In here, find your Project id and the ID of the security group. (Since there will be some networks with same names default)
Add Rules
You can add rules to security groups by following command. For protocols, use:
openstack security group rule create --proto icmp 0e474f30-839b-4d32-a037-1440cef8966d
This will enable your security group ICMP protocol access from outside of the instance.
Also you can use following command to add TCP 80 access as well.
openstack security group rule create --proto tcp --dst-port 80 0e474f30-839b-4d32-a037-1440cef8966d