我可以ping服务器,但是connect返回10060错误(超时)-现在怎么办? [英] I can ping the server but connect returns a 10060 error (time out) - now what?

查看:735
本文介绍了我可以ping服务器,但是connect返回10060错误(超时)-现在怎么办?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试将客户端连接到服务器时,出现超时"错误.我可以对服务器执行ping操作.我不是TCP/IP专家,"ping"正在推动我的系统知识的极限.有什么建议? (除了寻找不同的职业)

I am getting a "timed out" error when I try to connect a client to a server. I can ping the server OK. I''m not a TCP/IP guy and "ping" is pushing the limits of my system knowledge. Any suggestions? (besides looking into a different career)

推荐答案

如果您可以ping服务器,这并不意味着您也可以通过tcp/ip连接到它.这是一个可以帮助您使用tcp-ip的好教程: http://www.w3schools.com/tcpip/default .asp [ ^ ]
If you can ping the server, this doesn''t mean that you can also connect to it via tcp/ip. Here''s a good tutorial that can help you in tcp-ip: http://www.w3schools.com/tcpip/default.asp[^]


您如何尝试连接?可能与Windows安全性(或Unix)有关,可能与代码中的丢失或多余的行有关,数据库安全性,请给它命名...可以请您进一步解释,如果发布您使用的代码会更好.尝试连接
How are you trying to connect? can be related to windows security (or Unix), can be related to missing or extra lines in your code, database security, you name it... can you explain more please, even better will be if you post your code that you use trying to connect


这篇关于我可以ping服务器,但是connect返回10060错误(超时)-现在怎么办?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆