I am trying to to setup a Ghost blog instance on port 80 of my CentOS 6 virtual server. There are no pre-installed web servers occupying port 80.
If I run Ghost in production mode as a background operation, I can curl it via localhost and 127.0.0.1 as expected but I have no luck with the external ip address. This behavior persists whether or not iptables has rules written into it.
Here is my netstat -ntl
output:
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.0.1:80 0.0.0.0:* LISTEN 9249/node tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2261/sshd tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 6009/postmaster tcp 0 0 :::22 :::* LISTEN 2261/sshd tcp 0 0 ::1:5432 :::* LISTEN 6009/postmaster
Perhaps it is just my lack of expertise for server configuration but I cannot figure out how to get port 80 open over the internet.
Does anyone know what I am doing wrong?