最新消息:服务器现已从linode换到fzhost.net,且主题已从retina 0.2换为大前端D8

[已解决]swift中http访问网络出错: A server with the specified hostname could not be found

Swift crifan 27浏览 0评论

调试期间,用SwiftHTTP访问网络,结果出错:

url=http://jiandao.im:8080/user?phone=15051464654 with params=nil response error= A server with the specified hostname could not be found

swift http  A server with the specified hostname could not be found

ios – A server with the specified hostname could not be found – Stack Overflow

ios – A server with the specified hostname could not be found in AFNetworking – Stack Overflow

感觉还是当前网络的问题

是当前网络不稳定?

"A server with the specified hostname could not be found" – Bugs and Issues – Inoreader Forum

果然是:

重启app,多试试几次,后来就好了。

转载请注明:在路上 » [已解决]swift中http访问网络出错: A server with the specified hostname could not be found

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
57 queries in 0.493 seconds, using 12.85MB memory