1. You would want to replace "localhost" by an IP of the host machine that is visible from the virtual device.
2. You would want to set a flag to allow cleartext traffic as described in the manual (under "permissions")
1. You would want to replace "localhost" by an IP of the host machine that is visible from the virtual device.
2. You would want to set a flag to allow cleartext traffic as described in the manual (under "permissions")