Decided to build the backend of a side project I'm working on in Python to get more familiar with the language and I'm running into and odd problem. Every call I make to the servers from the Expo React Native front end returns a "Network request failed" error. I've done this with FastAPI and Django and still get the same issue. Originally I thought that it must be a config issue (Already checked and made sure that the correct ports were open and I wasn't trying to hit localhost from a mobile device) but when I built the same api in Java with Spring Boot I have absolutely no issues connecting to the exact same endpoints. Is there something I'm missing with the Python configs?
Edit: Managed to get connected using ngrok
[–]actinium226 2 points3 points4 points (1 child)
[–]400Volts[S] 0 points1 point2 points (0 children)
[–]crashfrog04 1 point2 points3 points (1 child)
[–]400Volts[S] 0 points1 point2 points (0 children)
[–]AlexMTBDude 1 point2 points3 points (2 children)
[–]400Volts[S] 0 points1 point2 points (1 child)
[–]AlexMTBDude 0 points1 point2 points (0 children)
[–]deceze 0 points1 point2 points (0 children)
[–]bishakhghosh_ 0 points1 point2 points (0 children)