如何测试到IP地址和特定端口的出站连接? [英] How can I test an outbound connection to an IP address as well as a specific port?

查看:339
本文介绍了如何测试到IP地址和特定端口的出站连接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的,我们都知道如何使用PING来测试与IP地址的连接。我需要做的是类似的事情,但测试我对给定IP地址的出站请求以及特定端口(在本例中为1775)是否成功。测试应该最好从命令提示符执行。

OK, we all know how to use PING to test connectivity to an IP address. What I need to do is something similar but test if my outbound request to a given IP Address as well as a specif port (in the present case 1775) is successful. The test should be performed preferably from the command prompt.

推荐答案

如果目标IP /端口上运行了服务器,可以使用Telnet。除无法连接之外的任何响应都表示您能够连接。

If there is a server running on the target IP/port, you could use Telnet. Any response other than "can't connect" would indicate that you were able to connect.

这篇关于如何测试到IP地址和特定端口的出站连接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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