Instance ports are closed
Hi all, I have an Test tenant create and i have one Test CentOS up and running. The machine works perfect. I have add ssh port and works perfect. After a some time i note that i cant ping http://www.google.com but i can ping 8.8.8.8. I add port 80 from security group rules ( and yes resolve.conf is ok ) but still same problem. And i try scanning the machine with nmap and i see that port 80 is closed.
Any hints about it ?
nova secgroup-list-rules default
+-------------+-----------+---------+-----------+--------------+
| IP Protocol | From Port | To Port | IP Range | Source Group |
+-------------+-----------+---------+-----------+--------------+
| tcp | 80 | 80 | 0.0.0.0/0 | |
| tcp | 22 | 22 | 0.0.0.0/0 | |
| | | | | default |
| icmp | -1 | -1 | 0.0.0.0/0 | |
| | | | | default |
+-------------+-----------+---------+-----------+--------------+
And this is the output of the nmap scanning that instance public ips
PORT STATE SERVICE
22/tcp open ssh
80/tcp closed http
And this is the output of the iptables of the instance
[root@testos ~]# systemctl stop iptables
Failed to issue method call: Unit iptables.service not loaded.
[root@testos ~]# systemctl status iptables
iptables.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
[root@testos ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[root@testos ~]#
Can you list all ingress and egress rules from security group used for creating VM
I edit the post above.