In addition to replacing localhost with your local IP, make sure to also run the backend on http://<local_ip>:/api