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.
升级Gradle后报错Gradle‘s dependency cache may be corrupt (this sometimes occurs
2.
Smarter, Not Harder
3.
mac-2019-react-native 本地环境搭建(xcode-11.1和android studio3.5.2中Genymotion2.12.1 和VirtualBox-5.2.34 )
4.
查看文件中关键字前后几行的内容
5.
XXE萌新进阶全攻略
6.
Installation failed due to: ‘Connection refused: connect‘安卓studio端口占用
7.
zabbix5.0通过agent监控winserve12
8.
IT行业UI前景、潜力如何?
9.
Mac Swig 3.0.12 安装
10.
Windows上FreeRDP-WebConnect是一个开源HTML5代理,它提供对使用RDP的任何Windows服务器和工作站的Web访问
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
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
>>更多相关文章<<