Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ping 报错 #5

Open
bill666500 opened this issue Jun 30, 2016 · 2 comments
Open

ping 报错 #5

bill666500 opened this issue Jun 30, 2016 · 2 comments

Comments

@bill666500
Copy link

您好,我用您默认www.baidu.com开始诊断,用真机和模拟器测试都ping的时候报如下问题:
开始ping...
ping: 开放服务器 ...
#1 try create failed: nodename nor servname provided, or not known

@hahaGitHub
Copy link

我这里可以ping了。将测试tcp的连接的代码注释掉,只执行 [self pingDialogsis:!_connectSuccess];
另外这个接口中对4个ip进行了ping,根据自己需要ping即可,另外kPingOpenServerIP定义是空串,要注意呢

@Will-ZJ
Copy link

Will-ZJ commented Oct 28, 2021

我这里可以ping了。将测试tcp的连接的代码注释掉,只执行 [self pingDialogsis:!_connectSuccess];
另外这个接口中对4个ip进行了ping,根据自己需要ping即可,另外kPingOpenServerIP定义是空串,要注意呢

这个是要另外设立一个可ping的IP吗?为啥不直接ping域名的ip?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants