To test TCP/IP connections by using the ping and net view commands

1.

To test TCP/IP connectivity by using the ping command, use the display of the ipconfig command to ensure that your network adapter is not in a Media disconnected state.

2.

Open Command Prompt, and then ping the desired host using its IP address 

If the ping command fails with a "Request timed out" message, verify that the host IP address is correct, that the host is operational, and that all of the gateways (routers) between this computer and the host are operational.

3.

To test host name resolution by using the ping command, ping the desired host using its host name.

If the ping command fails with an "Unable to resolve target system name" message, verify that the host name is correct and that the host name can be resolved by your DNS server

4.

To test TCP/IP connectivity by using the net view command, open Command Prompt, and then type net view \\ComputerName. The net view command lists the file and print shares of a computer running Windows by establishing a temporary connection. If there are no file or print shares on the specified computer, the net view command displays a "There are no entries in the list" message.

If the net view command fails with a "System error 53 has occurred" message, verify that ComputerName is correct, that the computer running Windows is operational, and that all of the gateways (routers) between this computer and the computer running Windows are operational.

If the net view command fails with a "System error 5 has occurred. Access is denied." message, verify that you are logged on using an account that has permission to view the shares on the remote computer.

To further troubleshoot this connectivity problem, do the following:

Use the ping command to ping ComputerName.

If the ping command fails with an "Unable to resolve target system name" message, then ComputerName cannot be resolved to its IP address.

Use the net view command and the IP address of the computer running Windows, as follows:

net view \\IPAddress

If the net view command succeeds, then ComputerName is being resolved to the wrong IP address.

If the net view command fails with a "System error 53 has occurred" message, the remote computer might not be running the File and Printer Sharing for Microsoft Networks service.

Note

To open command prompt, click Start, point to All Programs, point to Accessories, and then click Command Prompt

The ipconfig command is the command-line equivalent to the winipcfg command, which is available in Windows Millennium Edition, Windows 98, and Windows 95. Windows does not include a graphical equivalent to the winipcfg command, however, you can get the equivalent functionality for viewing and renewing an IP address by opening Network Connections, right-clicking a network connection, clicking Status, and then clicking the Support tab.

If the ping command is not found or the command fails, you can use Event Viewer to check the system log and look for problems reported by Setup or the Internet Protocol (TCP/IP) service.

The ping command uses Internet Control Message Protocol (ICMP) Echo Request and Echo Reply messages. Packet filtering policies on routers, firewalls, or other types of security gateways might prevent the forwarding of this traffic.

This procedure assumes that you are using only the TCP/IP protocol. If you are using other protocols, such as the NWLink IPX/SPX/NetBIOS Compatible Transport Protocol, net view commands might work correctly even when there are problems resolving names and making connections with TCP/IP. A net view connection is attempted with all installed protocols. If the net view connection with TCP/IP fails, a net view connection using NWLink IPX/SPX/NetBIOS Compatible Transport Protocol is attempted.

The IPX/SPX protocol is not available on Windows XP 64-Bit Edition. 

Related Topics

Net use

Ping

Using Event Viewer

Test a TCP/IP configuration by using the ping command



© 2017 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy & Cookies