You cannot call a localhost URL leading from app on a phone to website running on a computer, because they are local URLs and cannot communicate with each other. You should ngrok or a tunneling service (get a constant URL if possible, works really well) and then use that URL instead.