Android沒法訪問本地服務器(localhost/127.0.0.1)的解決方案

在Android開發中經過localhost或127.0.0.1訪問本地服務器時,會報java.net.ConnectException: localhost/127.0.0.1:8083 -Connection refused異常。java 爲何會報這個異常呢?由於Android模擬器自己把本身當作了localhost或127.0.0.1,而此時咱們又經過localhost或127.0.0.1訪
相關文章
相關標籤/搜索