- Looking at your instance info, find VNIC section, click "Public Subnet".
- Click on your security list.
- Add a new entry with the following options:
- "Stateless" = No, "Source" = 0.0.0.0/0, "IP Protocol" = TCP, "Source Port Range" = All, "Destination Port Range" = 80
- SSH to your instance.
- While SSH'ed in your instance, run command
firewall-cmd --permanent --add-service=http
. - While SSH'ed in your instance, run command
firewall-cmd --reload
. - Now start Apache, NGINX, or whatever server you need to on port 80. You can now access from the internet.
mine just says "Authorization failed.
Make sure polkit agent is running or run the application as superuser."
any ideas?
(im an idiot when it comes to linux)
edit
NVM, im an idiot, i just had to run it with sudo. Duhh