Every time you try using fetch(), to display data in ReactNative apps from a remote server, you’d come across this error. It can be solved by chaging few things in the fetch url.
you can see the fetch(‘http://127.0.0.1:8000/api/movies/’) is as follows.
You have to change this to fetch(‘http://10.0.2.2:8000/api/movies/’). 10.0.2.2:port_no is the standard way for running android emulator.