VPS and Network firewalls opened, still can’t connect

I created a VPS on Oracle Cloud (Ubuntu Minimal image) and I’m trying to run a server on it.
I tried running a simple server command first to test connectivity:

 sudo python2 -m SimpleHTTPServer 80

Ok, I get “serving HTTP on 0.0.0.0 port 80”.

Now I try to access it via browser and it times out. So, it must be the firewall..

So I disable all firewall rules usind the following commands:

sudo service iptables stop

and

sudo ufw disable

I try to connect again. Still, no luck. So it must be a network firewall on Oracle. I go to the Oracle configurations and I find the firewall and add the rule to open port 80, as follows:

enter image description here

I try to connect again. Still not connecting. I ran out of ideas. What could be going on?

Answer

Attribution
Source : Link , Question Author : sigmaxf , Answer Author : Community

Leave a Comment