自己搭建的restserver用安卓连接的时候报错:failed to connect to /127.0.0.1 (port 8080) after 60000ms: isConnected faile

慕课网电商项目RestServer api spring boot版本


地址:

https://gitee.com/yi_dao2000/api

形如

http://ip:8080/RestDataServer/api/user_profile

其中ip改为自己本机ip,比如192.168.0.x等,

但是不要用localhost和127.0.0.1会提示错误

failed to connect to /127.0.0.1 (port 8080) after 60000ms: isConnected faile

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容