iOS-netdiag
iOS-netdiag copied to clipboard
Pinging ports timed out
Hi,
I'm working on a small app that will ping Apple's ports from https://support.apple.com/en-vn/HT202944.
When I try
[QNNTcpPing start:@"www.apple.com" port:2195 count:3 output:nil complete: ^(QNNTcpPingResult *r) {
NSLog(@"%@", r);
}];
I get timeout error=60. And if I try port 80, I get response error=0.
I've tried also "http://www.apple.com" and got "tcp connect failed -1006"
Any help would be great.
Thanks!