Error Domain=NSURLErrorDomain Code=-1003 "A server with the specified hostname could not be found."

Error Domain=NSURLErrorDomain Code=-1003 "A server with the specified hostname could not be found." UserInfo=0x168d9430 {NSErrorFailingURLStringKey=http://www.cndoa.com/server/service/get_shop_nearby.php, NSErrorFailingURLKey=http://www.cndoa.com/server/service/get_shop_nearby.php, NSLocalizedDescription=A server with the specified hostname could not be found., NSUnderlyingError=0x16840e10 "A server with the specified hostname could not be found.}

仔细检查域名是否错误(我出现这种情况就是域名中多了个单词)

你可能感兴趣的:(Error Domain=NSURLErrorDomain Code=-1003 "A server with the specified hostname could not be found.")