TypeError:Network request failed

recently run react native project application in which the data is the local json of the request before good suddenly reported TypeError:Network request failed

The inside of the

project request address localhost is written into computers at the real IP is ok

before modification :


view computer IP address method :

Windows: open the command window to execute ipconfig

MAC: open a command window to execute ifconfig

Read More: