iOS-netdiag icon indicating copy to clipboard operation
iOS-netdiag copied to clipboard

Pinging ports timed out

Open babac87 opened this issue 7 years ago • 0 comments

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!

babac87 avatar May 07 '18 11:05 babac87