我有一个运行于Android虚拟机上的React-native应用程序。它有一些方法可以通过API与我们的服务配合使用。
服务的本地副本托管在Vagrant虚拟机上。机器和方法都是100%可访问的(通过浏览器和Postman测试)。虚拟机运行Nginx来监听域名,让它成为test.test
无业游民的配置:
config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1"
config.vm.network "forwarded_port", guest: 22, host: 2223, host_ip: "127.0.0.1"
config.vm.network "forwarded_port", guest: 3306, host: 33061, host_ip: "127.0.0.1"
config.vm.network "private_network", ip: "192.168.33.15", error_check: false
config.vm.network "public_network", ip: "192.168.33.195", error_check: false
问题是:android无法连接到无业游民。我该怎么办?