I've got two web servers running on a machine where one is an application that I don't need to make publuc directly (it's Meilisearch to be specific). Let's say this app is running on port 7700.
The other server is a React static website that make calls to the first one using localhost:7700
.
I've made the react web server public using nginx and I can see the website but it fails to communicate with the private server.
What am I doing wrong? Do I need to expose the 7700 to the internet as well?