1. Welcome Guest! In order to create a new topic or reply to an existing one, you must register first. It is easy and free. Click here to sign up now!.
    Dismiss Notice

how to identify what is using a specific port?

Discussion in 'Windows Home Server' started by Chris, May 10, 2009.

  1. Chris

    Chris Guest

    On a WIndows 2000 server I have an apps which requires to use port 1100. But
    something else is already using the port. It just happened recently. How
    can I find out what app or process is using that port? I found the port was
    in use by running netstat, which returned a list of local address and foreign
    address. Under local address it showed one entry as localservername:1100.
    Under foreign address it also showed one entry as mstservice:1100. Any idea?

    Thanks.
     
  2. netstat /? will show the options.
    netstat -o will show the process. netstat -b shows the executable,
    Anthony
    http://www.airdesk.com

    "Chris" <Chris@discussions.microsoft.com> wrote in message
    news:64A30B37-CDC2-4B58-A671-52FCEE26BA4F@microsoft.com...
    > On a WIndows 2000 server I have an apps which requires to use port 1100.
    > But
    > something else is already using the port. It just happened recently. How
    > can I find out what app or process is using that port? I found the port
    > was
    > in use by running netstat, which returned a list of local address and
    > foreign
    > address. Under local address it showed one entry as localservername:1100.
    > Under foreign address it also showed one entry as mstservice:1100. Any
    > idea?
    >
    > Thanks.
     
  3. Chris

    Chris Guest

    I wish my server is Windows 2003 so I have -o or -b option. Mine is Windows
    2000. How to display the process ID? Here is a list of options:

    C:\>netstat /?

    Displays protocol statistics and current TCP/IP network connections.

    NETSTAT [-a] [-e] [-n] [-s] [-p proto] [-r] [interval]

    -a Displays all connections and listening ports.
    -e Displays Ethernet statistics. This may be combined with the -s
    option.
    -n Displays addresses and port numbers in numerical form.
    -p proto Shows connections for the protocol specified by proto; proto
    may be TCP or UDP. If used with the -s option to display
    per-protocol statistics, proto may be TCP, UDP, or IP.
    -r Displays the routing table.
    -s Displays per-protocol statistics. By default, statistics are
    shown for TCP, UDP and IP; the -p option may be used to
    specify
    a subset of the default.
    interval Redisplays selected statistics, pausing interval seconds
    between each display. Press CTRL+C to stop redisplaying
    statistics. If omitted, netstat will print the current
    configuration information once.

    "Anthony [MVP]" wrote:

    > netstat /? will show the options.
    > netstat -o will show the process. netstat -b shows the executable,
    > Anthony
    > http://www.airdesk.com
    >
    > "Chris" <Chris@discussions.microsoft.com> wrote in message
    > news:64A30B37-CDC2-4B58-A671-52FCEE26BA4F@microsoft.com...
    > > On a WIndows 2000 server I have an apps which requires to use port 1100.
    > > But
    > > something else is already using the port. It just happened recently. How
    > > can I find out what app or process is using that port? I found the port
    > > was
    > > in use by running netstat, which returned a list of local address and
    > > foreign
    > > address. Under local address it showed one entry as localservername:1100.
    > > Under foreign address it also showed one entry as mstservice:1100. Any
    > > idea?
    > >
    > > Thanks.

    >
    >
     
  4. Can you copy netstat.exe from an XP machine to your server?
    Anthony
    http://www.airdesk.com


    "Chris" <Chris@discussions.microsoft.com> wrote in message
    news:E47508C1-E42C-43DA-8F54-16DB7D263055@microsoft.com...
    > I wish my server is Windows 2003 so I have -o or -b option. Mine is
    > Windows
    > 2000. How to display the process ID? Here is a list of options:
    >
    > C:\>netstat /?
    >
    > Displays protocol statistics and current TCP/IP network connections.
    >
    > NETSTAT [-a] [-e] [-n] [-s] [-p proto] [-r] [interval]
    >
    > -a Displays all connections and listening ports.
    > -e Displays Ethernet statistics. This may be combined with
    > the -s
    > option.
    > -n Displays addresses and port numbers in numerical form.
    > -p proto Shows connections for the protocol specified by proto;
    > proto
    > may be TCP or UDP. If used with the -s option to display
    > per-protocol statistics, proto may be TCP, UDP, or IP.
    > -r Displays the routing table.
    > -s Displays per-protocol statistics. By default, statistics
    > are
    > shown for TCP, UDP and IP; the -p option may be used to
    > specify
    > a subset of the default.
    > interval Redisplays selected statistics, pausing interval seconds
    > between each display. Press CTRL+C to stop redisplaying
    > statistics. If omitted, netstat will print the current
    > configuration information once.
    >
    > "Anthony [MVP]" wrote:
    >
    >> netstat /? will show the options.
    >> netstat -o will show the process. netstat -b shows the executable,
    >> Anthony
    >> http://www.airdesk.com
    >>
    >> "Chris" <Chris@discussions.microsoft.com> wrote in message
    >> news:64A30B37-CDC2-4B58-A671-52FCEE26BA4F@microsoft.com...
    >> > On a WIndows 2000 server I have an apps which requires to use port
    >> > 1100.
    >> > But
    >> > something else is already using the port. It just happened recently.
    >> > How
    >> > can I find out what app or process is using that port? I found the
    >> > port
    >> > was
    >> > in use by running netstat, which returned a list of local address and
    >> > foreign
    >> > address. Under local address it showed one entry as
    >> > localservername:1100.
    >> > Under foreign address it also showed one entry as mstservice:1100.
    >> > Any
    >> > idea?
    >> >
    >> > Thanks.

    >>
    >>
     
  5. Chris

    Chris Guest

    I tried but it keeps asking for additional files. I was able to use tcpview
    to find the process. Thanks.

    "Anthony [MVP]" wrote:

    > Can you copy netstat.exe from an XP machine to your server?
    > Anthony
    > http://www.airdesk.com
    >
    >
    > "Chris" <Chris@discussions.microsoft.com> wrote in message
    > news:E47508C1-E42C-43DA-8F54-16DB7D263055@microsoft.com...
    > > I wish my server is Windows 2003 so I have -o or -b option. Mine is
    > > Windows
    > > 2000. How to display the process ID? Here is a list of options:
    > >
    > > C:\>netstat /?
    > >
    > > Displays protocol statistics and current TCP/IP network connections.
    > >
    > > NETSTAT [-a] [-e] [-n] [-s] [-p proto] [-r] [interval]
    > >
    > > -a Displays all connections and listening ports.
    > > -e Displays Ethernet statistics. This may be combined with
    > > the -s
    > > option.
    > > -n Displays addresses and port numbers in numerical form.
    > > -p proto Shows connections for the protocol specified by proto;
    > > proto
    > > may be TCP or UDP. If used with the -s option to display
    > > per-protocol statistics, proto may be TCP, UDP, or IP.
    > > -r Displays the routing table.
    > > -s Displays per-protocol statistics. By default, statistics
    > > are
    > > shown for TCP, UDP and IP; the -p option may be used to
    > > specify
    > > a subset of the default.
    > > interval Redisplays selected statistics, pausing interval seconds
    > > between each display. Press CTRL+C to stop redisplaying
    > > statistics. If omitted, netstat will print the current
    > > configuration information once.
    > >
    > > "Anthony [MVP]" wrote:
    > >
    > >> netstat /? will show the options.
    > >> netstat -o will show the process. netstat -b shows the executable,
    > >> Anthony
    > >> http://www.airdesk.com
    > >>
    > >> "Chris" <Chris@discussions.microsoft.com> wrote in message
    > >> news:64A30B37-CDC2-4B58-A671-52FCEE26BA4F@microsoft.com...
    > >> > On a WIndows 2000 server I have an apps which requires to use port
    > >> > 1100.
    > >> > But
    > >> > something else is already using the port. It just happened recently.
    > >> > How
    > >> > can I find out what app or process is using that port? I found the
    > >> > port
    > >> > was
    > >> > in use by running netstat, which returned a list of local address and
    > >> > foreign
    > >> > address. Under local address it showed one entry as
    > >> > localservername:1100.
    > >> > Under foreign address it also showed one entry as mstservice:1100.
    > >> > Any
    > >> > idea?
    > >> >
    > >> > Thanks.
    > >>
    > >>

    >
     

Share This Page