API not accessible from android device using workers
We are currently using Workers to deploy our API. However, when attempting to access the API endpoint http://127.0.0.1:8787/ from an Android device, we encounter a "Network request failed" error. Notably, this endpoint functions correctly when accessed via Postman or a web browser, and there are no firewall issues affecting the connection.
Also we are able to access the deployed url but not the local url .
Could you please assist us in resolving this issue?
1 Reply
127.0.0.1 is localhost so it only works on the machine running the webserver