最新消息:VPS服务器又从fzhost.net换回Linode了,主题仍用朋友推荐的大前端D8

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

Swift crifan 97浏览 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,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
20 queries in 0.189 seconds, using 9.72MB memory