You are currently offline, waiting for your internet to reconnect

NETSTAT Displays a LISTENING Port with IP Address

This article was previously published under Q175952
This article has been archived. It is offered "as is" and will no longer be updated.
When you carry out the command netstat -an, you may receive a displaythat shows an IP address of in LISTENING status similar to thefollowing:


NOTE: The normal, or expected, behavior is to have your local computer's IPaddress listed instead of
The Winsock application that is listening on the designated port waswritten so that it binds to any local IP address by using INADDR_ANY. Thismeans that the application will listen to all local interfaces and you canconnect to the port of any of them. This is why netstat -an shows IPaddress listening on the port.
This is by design. However, if you do not want the Winsock application tolisten to all local interfaces, it must be designed to bind to a specificIP address. Netstat.exe will then show a local IP address in LISTENINGstatus.

NOTE: Netstat.exe began displaying TCP ports that are in LISTENING statewith Windows NT 4.0 Service Pack 3.

Article ID: 175952 - Last Review: 12/05/2015 08:08:57 - Revision: 1.1

Microsoft Windows NT Workstation 4.0 Developer Edition, Microsoft Windows NT Server 4.0 Standard Edition

  • kbnosurvey kbarchive kbnetwork KB175952