Hi,
I have 2 API RESTS, one is the shop and another one is the storage, each one execute in a different port, everything is in localhost. I use an api key to make crud, no authorized user cannot make crud or get information from my database. From shop to Storage, I do not have problem, the problem is if I am in shop and I make a requests.get(url, header=header) in a route from my shop, I am passing my api key, but the error message is about connection, the server is refusing the connection, I tried to disable my firewall from windows and no way. Why can I make request from one API to another but not inside from the same API ? What should I do please ? Sorry I am new with python…
Thanks