Re: port blocking in DOS

From: Miha Pihler (mihap-news_at_atlantis.si)
Date: 10/28/04


Date: Thu, 28 Oct 2004 19:33:40 +0200

Fred,

To determine which service is running behind specific port use these tools:
- On Windows XP SP2 run

netstat -b

It will return a list like this:

**********************************************************************
Active Connections

  Proto Local Address Foreign Address State PID
  TCP mike:1107 10.10.10.100:1025 ESTABLISHED 3832
  [OUTLOOK.EXE]

  TCP mike:1140 10.10.10.100:1429 ESTABLISHED 3832
  [OUTLOOK.EXE]

  TCP mike:1402 10.10.10.100:3389 ESTABLISHED 4024
  [mstsc.exe]

  TCP mike:2087 10.10.10.100:nntp ESTABLISHED 3888
  [msimn.exe]
**********************************************************************

- another option (that you should use on computer that are not running
Windows XP SP2) is to run tools like TCPView that can be downloaded from
www.sysinternals.com for free. If you need more information on the services
that are running user tool "Process Explorer from the same web site.

I hope this helps,

Mike

"Fred" <Fred@discussions.microsoft.com> wrote in message
news:294AEBF9-EF6E-402E-8964-20B02782A36C@microsoft.com...
> Hi Mike,
>
> I am actually trying to block or disable the port in WinXP and Win2K both.
> Do the services properties give an indication on what port the service is
> using? I am running a personal firewall on my PC but I had a friend ask me
> the question the other day and was just curious.
>
> Thanks again Mike,
>
> Fred
>
> "Miha Pihler" wrote:
>
>> Hi Fred,
>>
>> What operating system do you use?
>>
>> You will need to figure out what service you are running that is opening
>> port 8880 and shut down the service. That will close (and block) the
>> specific port.
>>
>> Another thing that you can do is install personal firewall or use
>> built-in
>> one if you use Windows XP. In last case you could use netsh tool to
>> enable
>> or disable Windows firewall from command line.
>>
>> Mike
>>
>> "Fred" <Fred@discussions.microsoft.com> wrote in message
>> news:9A95AF61-6478-4880-84E0-7AC52E204CE4@microsoft.com...
>> > What DOS command will block or disable a port such as port 8880?
>> >
>> > Thanks in advance,
>> >
>> > Fred
>>
>>
>>



Relevant Pages

  • Re: Network problem with XP sp 2
    ... "Mike Q" wrote in message ... came with Windows XP sp2 pre-installed. ... This is almost certainly the Firewall on the SP2 machine blocking the pings. ...
    (microsoft.public.windowsxp.network_web)
  • Re: Epmap Connectionn Problem
    ... The problem is still here after I change the machine's DNS server; ... The machine is with SP2 and fire wall is on; ... The port number connect to server's epmap port is protean. ... > windows firewall to log successful connections and dropped packets. ...
    (microsoft.public.windowsxp.general)
  • Re: Question about Windows XP firewall
    ... I'll upgrade to sp2 or sp3 this weekend. ... MS MVP-IE, Mail, Security, Windows Desktop Experience - since 2002 ... How do I close or stealth/hide this port using the Windows FW? ...
    (microsoft.public.windowsxp.general)
  • Re: spyware/popups
    ... >It also covers Firewalls, and Popups to. ... score, Windows XP SP2 ... >Mike Bright MCP, MSP ...
    (microsoft.public.windowsxp.security_admin)
  • Re: XP SP2 - Statement of the NTBugtraq list
    ... XP SP2 - Statement of the NTBugtraq list ... port and AIM loaded and functioned as expected. ... Windows, by default left ... At this point I'm prepping to install SP2 on a Toshiba Centrino based ...
    (NT-Bugtraq)

Loading