Eva Anna
Eva Anna

Reputation: 11

How can I resolve a Network Error while sending data from input fields to my backend in React Native with Expo Go and Express js?

I am experiencing Network Error while trying to send data from input fields to my backend. I am running frontend of my app on Expo Go. Expo Go and my computer are connected to the same wifi. Everything is working great till I am trying to send data to my backend. I am running Express js on localhost http://localhost:3000/. Expo Go, on my mobile, is using exp://192.168.2.129:19000. No data is being sent to the backend. I'm working on Mac, my firewall is OFF. Expo Go runs on Iphone, iOS 16.2 fabric settings...

I moved all the backend to https://replit.com/, platform for developers and everything is working fine again, data being received.

My question is: is it possible to not use external platforms and just run frontend and backend from my computer, on my localhost?

thank you for help, Eva

Upvotes: 0

Views: 48

Answers (0)

Related Questions