Answer the question
In order to leave comments, you need to log in
Why is there no external access to web servers in the Nginx + Apache bundle?
On a remote machine, I use the nginx + apache bundle, the servers start up, but there is no access to them from the outside.
Here are the command outputs:
$ nmap
Host is up (0.00025s latency).
Not shown: 998 filtered ports
PORT STATE SERVICE
80/tcp closed http
8080/tcp closed http-proxy
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 23962/nginx: master
tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 23939/httpd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 6565/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 6672/master
tcp6 0 0 :::22 :::* LISTEN 6565/sshd
tcp6 0 0 ::1:25 :::* LISTEN 6672/master
Answer the question
In order to leave comments, you need to log in
firewallcmd --add-service=http --permanent
firewallcmd --add-service=https --permanent
firewallcmd --reload
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question