1
I have an application that requests a local API and I need to change the machine API because I can use multiple servers and they can have different Ips. I would like to have my app search the server on the network where it is automatically and establish the connection. I’m working with React Native + Nodejs. I am creating the application and would like to know if there is any established standard that could use to do this server location.
Are all servers on the same network? It is not possible to use a fixed IP server and redirect requests from it?
– Valdeir Psr
No. The servers are on different networks. The problem is that the solution will be used on different clients and each uses an IP for the server. From here I wanted to find a way not to have to manually put the server IP in the application but to search for a server. Something like a nickname or auto search.
– Gustavomgu.developer