I try to get into the localhost server from android simulator and I can not. What should I do to get in?
Use the IP address 10.0.2.2 instead of localhost
Further Read This https://developer.android.com/studio/run/emulator-networking.html
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.