JavaShuo
欄目
標籤
Failed to connect to /127.0.0.1:8080(使用retrofit2請求網絡的時候出現的問題)
時間 2020-12-28
標籤
Failed to connect to
使用retrofit2
請求網絡
欄目
系統網絡
简体版
原文
原文鏈接
Failed to connect to /127.0.0.1:8080(使用retrofit2的時候出現的問題) 原因是如果用localhost或者127.0.0.1訪問,肯定就是訪問到模擬器裏了,而不是你的電腦上。 正確做法: 運行——打開cmd——輸入ipconfig查看ipv4協議 把地址換成ipv4就可以了,也就是把localhost換成10.19.71.204
>>阅读原文<<
相關文章
1.
RocketMq "connect to failed"問題
2.
RocketMq Exception "connect to failed"問題
3.
Failed to connect to raw.githubusercontent.com port 443
4.
git clone時出現 Failed to connect to 127.0.0.1 port 1080: Connection refused
5.
org.apache.spark.shuffle.FetchFailedException: Failed to connect to xxx.hadoop.com:7337
6.
svn檢出的時候報 Unable to connect to a repository at URL
7.
解決Android studio 編譯的時候出現Failed to parse XML的問題
8.
使用github出了些問題?fatal: unable to access;Failed connect to github.com:8087;
9.
使用github出了些問題?fatal: unable to access;Failed connect to github.com:8087; No error
10.
Android studio使用okhttp請求數據報錯:failed to connect to /192.168.191.1 (port 8080) after 10ms
更多相關文章...
•
TCP/IP網絡訪問層的構成
-
TCP/IP教程
•
僞造請求超時的ICMP數據包
-
TCP/IP教程
•
☆基於Java Instrument的Agent實現
•
互聯網組織的未來:剖析GitHub員工的任性之源
相關標籤/搜索
to@8
to......443
網絡命令的使用
xcode5的使用
使用過的
Docker的使用
題的
failed
the way to go
C# to IL
系統網絡
NoSQL教程
PHP教程
Redis教程
應用
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
融合阿里雲,牛客助您找到心儀好工作
2.
解決jdbc(jdbctemplate)在測試類時不報錯在TomCatb部署後報錯
3.
解決PyCharm GoLand IntelliJ 等 JetBrains 系列 IDE無法輸入中文
4.
vue+ant design中關於圖片請求不顯示的問題。
5.
insufficient memory && Native memory allocation (malloc) failed
6.
解決IDEA用Maven創建的Web工程不能創建Java Class文件的問題
7.
[已解決] Error: Cannot download ‘https://start.spring.io/starter.zip?
8.
在idea讓java文件夾正常使用
9.
Eclipse啓動提示「subversive connector discovery」
10.
帥某-技巧-快速轉帖博主文章(article_content)
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
1.
RocketMq "connect to failed"問題
2.
RocketMq Exception "connect to failed"問題
3.
Failed to connect to raw.githubusercontent.com port 443
4.
git clone時出現 Failed to connect to 127.0.0.1 port 1080: Connection refused
5.
org.apache.spark.shuffle.FetchFailedException: Failed to connect to xxx.hadoop.com:7337
6.
svn檢出的時候報 Unable to connect to a repository at URL
7.
解決Android studio 編譯的時候出現Failed to parse XML的問題
8.
使用github出了些問題?fatal: unable to access;Failed connect to github.com:8087;
9.
使用github出了些問題?fatal: unable to access;Failed connect to github.com:8087; No error
10.
Android studio使用okhttp請求數據報錯:failed to connect to /192.168.191.1 (port 8080) after 10ms
>>更多相關文章<<