Windows Azure cannot ping a solution

Source: Internet
Author: User

How does Windows Azure not ping pass?

To avoid ping flood attacks, Windows Azure does not open the external ICMP communication contract, so we cannot ping through the ping command. In the Microsoft Data Center is not the same VM under Virtual Network, only the operating system has open ICMP,VM between each other is able to Ping each other.

But what if we want to test the stability and response time of the azure server? It is recommended that you replace ICMP pings with similar tools for the TCP protocol, such as the Tcping tool.

After downloading the tcping.exe into the C:\Windows\System32 directory, and then win+r input cmd Open, and then we enter the tcping command will be able to ping, there are a lot of relevant command interpretation on the Web, here are a simple examples: tcping-t Www.zouxiuping.com (Always ping)

Tcping is not limited to the ping service of Windows Azure, but also applies to any server that does not ping. As follows:

Normal ping command, unable to ping through

Using the tcping command, you can ping the

Here are the installation methods for the two tools:

First, tcpping tools

1. Since the official Yum source does not contain all the installation packages, we will first add a third-party yum Source, where we have chosen: Repoforge.

1-1: First, confirm the CentOS version, use the Cat/etc/redhat-release command to obtain the current system version, using the Uname–a command to obtain the kernel information of the system. The Cento S6.5 information provided on the platform is as follows:

1-2: Download the corresponding version of the Repoforge source RPM package:

In the http://pkgs.repoforge.org/rpmforge-release/Web site, locate the corresponding RPM package, and then use the wget command in the Linux system to download: The CentOS6.5 image for the Azure platform, the command is: wgethttp://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

1-3: Install the Yum source RPM package:

Use the command rpm–ivh <rpm file name >

When the installation is complete, you will find that you have added the Rpmforge to the source list in/etc/yum.repos.d/:

2. Use the Yuminstall tcptraceroute command to install the Tcptraceroute automatically

3. Go to the/usr/bin directory and use the sudo wget http://download1.faq-book.com/file/Linux/tcpping/tcpping command to download the Tcpping tool. The permission to change tcpping after is 755. Input command: chmod 755 tcpping

4. Then you can use the Tcpping tool to ping the TCP port on the outside network:

Windows Azure cannot ping a solution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.