200-901 · Question #255
Which application should be used to externally access all applications deployed in the same host machine with a single public IP address and port, when each application listens on different local…
The correct answer is A. reverse proxy. A reverse proxy sits in front of multiple backend applications on the same host and routes incoming requests from a single public IP and port to the correct internal service based on rules such as URL path, hostname, or headers. For example, requests to '/app1' can be routed to…
Question
Which application should be used to externally access all applications deployed in the same host machine with a single public IP address and port, when each application listens on different local ports?
Options
- Areverse proxy
- Bload balancer
- CDNS
- Dfirewall
How the community answered
(29 responses)- A93% (27)
- C3% (1)
- D3% (1)
Explanation
A reverse proxy sits in front of multiple backend applications on the same host and routes incoming requests from a single public IP and port to the correct internal service based on rules such as URL path, hostname, or headers. For example, requests to '/app1' can be routed to localhost:3001 and '/app2' to localhost:3002, even though all arrive on port 80 or 443. A load balancer distributes traffic across multiple instances of the same application, not different applications. DNS resolves domain names but cannot route a single IP:port to different local ports. A firewall controls access but does not perform application-level routing.
Topics
Community Discussion
No community discussion yet for this question.