You can't use localhost because you're running the app in your cellphone. The server is running on your computer. If you use locahost the app will understand that the server is running on your cellphone, which is not correct. Here's how you should do it:
You can't use
localhost
because you're running the app in your cellphone. The server is running on your computer. If you uselocahost
the app will understand that the server is running on your cellphone, which is not correct. Here's how you should do it: