Author Topic: I have a question about the port (nginx+apache)  (Read 4309 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
I have a question about the port (nginx+apache)
« on: February 11, 2021, 02:57:50 AM »
When you run apache alone, you need 80 ports open.

But when using the nginx+apache combination, do the ports 8181 and 8443 need to be open?

These two ports are closed in my firewall.

But the web is still working.

How can this happen?

Offline
*
Re: I have a question about the port (nginx+apache)
« Reply #1 on: February 11, 2021, 08:19:44 AM »
It uses Proxypass to forward requests to the 8181 port. Any request on ort 80 will be internally passed to 8181

Your request ----->  Port 80 ------> Proxy pass -----> Redirect 8181 (Internally redirected) -------> load Data from Port 8181