Showing posts with label ping. Show all posts
Showing posts with label ping. Show all posts

Wednesday, April 27, 2016

Does ping use IPv4 or IPv6?

In Windows 10 machine when I ping a web site such as WWW.Microsoft.com, I get the response as shown:

C:\Users\Jayaram>ping www.microsoft.com
Pinging e10088.dspb.akamaiedge.net [2600:1406:1f:386::2768] with 32 bytes of data:
Reply from 2600:1406:1f:386::2768: time=72ms
Reply from 2600:1406:1f:386::2768: time=64ms
Reply from 2600:1406:1f:386::2768: time=64ms
Reply from 2600:1406:1f:386::2768: time=65ms

Ping statistics for 2600:1406:1f:386::2768:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 64ms, Maximum = 72ms, Average = 66ms


The default appears to be IPv6

However, if I need to ping the IPv4 then I can ping as shown.
C:\Users\Jayaram>ping -4 www.microsoft.com
Pinging e10088.dspb.akamaiedge.net [23.15.90.161] with 32 bytes of data:
Reply from 23.15.90.161: bytes=32 time=84ms TTL=55
Reply from 23.15.90.161: bytes=32 time=89ms TTL=55
Reply from 23.15.90.161: bytes=32 time=64ms TTL=55
Reply from 23.15.90.161: bytes=32 time=80ms TTL=55

Ping statistics for 23.15.90.161:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 64ms, Maximum = 89ms, Average = 79ms


Wednesday, February 19, 2014

What is PING?

Definition of PING:

The length of time in milliseconds that it takes to send a message to an URL (internet, intranet, or web address) and get a response. There is no message but if you get a reply it means you can successfully contact the URL.

Why do you need PING?

When you want to test connectivity over the internet, you ping(Packet Inter-Networking Groper).

How do you 'Ping'?

In Windows 7 type cmd in the search box that you open when you click Start.
Click the Program cmd that is found.
It opens up the window for cmd.exe (the DOS window)
Type in ping 127.0.0.1 and hit return
You will see the following:
----------
C:\Users\mysorian>Ping 127.0.0.1
Pinging 127.0.0.1 with 32 bytes of data:
Reply from 127.0.0.1: bytes=32 time<1ms ttl="128<br">Reply from 127.0.0.1: bytes=32 time<1ms ttl="128<br">Reply from 127.0.0.1: bytes=32 time<1ms ttl="128<br">Reply from 127.0.0.1: bytes=32 time<1ms ttl="128</p">Ping statistics for 127.0.0.1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
---------------------
This means your network card is working as it should
---------------------
Type PING http://www.microsoft.com
You get the reply after which you Ping hodentek.blogspot.com
You get these replies
-----------
C:\Users\mysorian>ping www.microsoft.com
Pinging lb1.www.ms.akadns.net [64.4.11.42] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 64.4.11.42:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
C:\Users\mysorian>ping hodentek.blogspot.com
Pinging blogspot.l.googleusercontent.com [74.125.224.44] with 32 bytes of data:
Reply from 74.125.224.44: bytes=32 time=63ms TTL=53
Reply from 74.125.224.44: bytes=32 time=61ms TTL=53
Reply from 74.125.224.44: bytes=32 time=60ms TTL=53
Reply from 74.125.224.44: bytes=32 time=62ms TTL=53
Ping statistics for 74.125.224.44:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 60ms, Maximum = 63ms, Average = 61ms
C:\Users\mysorian>
---
This shows you could get to Hodentek.blogspot.com but not www.microsoft.com
In any case, if you are trouble shooting connectivity issues try pinging your own network card at 127.0.0.1

Tuesday, February 18, 2014

How do you copy an ASP.NET website on one Hosting company to a site on another?

Sometimes you change your website hosting from one vendor to another. You want to transfer your site content from the old hosting provider to the new hosting provider. The general idea is the same but in this case we are considering moving from one ASP.NET hosting provider to another.

Domain Name:
First of all there is a consideration of domain name. You can buy a new domain name or you can use your existing domain name. In this case we are assuming that the existing domain name will be used and only the site content is moved.

Steps in moving to another:
1. Do not close the account with your old hosting provider as this may result in the loss of your content

2. Buy a new hosting account with the new hosting provider. If you are looking for a ASP.NET hosting you should choose one that hosts ASP.NET

http://www.findbestwebhosting.com/top10hostingcompanies.aspx/windows-web-hosting/1

Note: The above site was picked at random and the blogger has no interest in the above or any of the others that may get mentioned.

3. After you opened the account you will can get a temporary website (also an FTP site, email, etc. )Create your password for the various items (email, FTP, HTTP, etc.).

4. Download and install the free version of Visual Studio 2013 Express for Web (in this case Microsoft Visual Studio Express  2013 for Web). With this tool you can FTP your site content from the site on your old Hosting Provider to the temporary ftp site on the new hosting provider. The transfer itself may take considerble time depending on the amount of stored content.

  • After launching VS 2013 Express, clicking on File | Open Web Site... opens the following display.

  • Enter the ftp site of the previous hostings provider and enter your credentials.
The site contents will be displayed in the Solutions Explorer
Now the WEBSITE menu item gets displayed.
  • Click on WEBSITE and click Copy Web Site... as shown.

The FTP screen opens as shown.


  • In the above screen click on Connect, the connect to remote site is activated and the Open Web Site window is displayed again. Now enter the ftp site and credentials for the new hostings provider.
Both the source and target gets displayed as shown.
 
 
  • All that remains is highlight the items from your old site on the left(Source) to the target site using the arrows (watch directions) in between source and target.
The time it takes to transfer will depend on many factors that includes the network connectivity and the amount of data.

You may be wondering whether the new site created from the previous hostings site will function as it did earlier. This will depend on a lot of factors as the technology might have progressed and the elements (databases,user accounts, transacted items etc) may not be compatible versions. However you may be able to recreate most if not all of the features. Patience.

Before you make the ftp transfer you should have username and password for the old hosting account and the new recently purchased hosting account.
Also make sure,
  • You can ping both sites
  • Run tracert from the command window for the new hosting provider to make sure their router can be reached.
  • Make sure telnet is enabled in your computer.