Author Topic: List of Windows services, and what ports they require to run!  (Read 37609 times)

Offline Ragwing

  • Comodo's Hero
  • *****
  • Posts: 3498
List of Windows services, and what ports they require to run!
« on: August 18, 2007, 11:47:01 AM »
Found this, and it might be of some help, since many peoples ask about svchost.exe and services.exe, like why they're connecting to some ports. So here's what Windows service that uses what port:

http://support.microsoft.com/kb/832017

Summary:
Quote
This article discusses the essential network ports, protocols and services that are used by Microsoft client and server operating systems, server-based programs and their subcomponents in the Microsoft Windows server system. Administrators and support professionals may use this Microsoft Knowledge Base article as a road-map to determine what ports and protocols Microsoft operating systems and programs require for network connectivity in a segmented network.

The port information in this article should not be used to configure Windows Firewall. For information about configuring Windows Firewall, see the Windows Firewall Settings Technical Reference.

The Windows server system includes a comprehensive and integrated infrastructure that is designed to meet the requirements of developers and of information technology (IT) professionals. This system is designed to run programs and solutions that information workers can use to obtain, to analyze, and to share information quickly and easily. These Microsoft client, server and server program products use a variety of network ports and protocols to communicate with client systems and with other server systems over the network. Dedicated firewalls, host-based firewalls, and Internet Protocol security (IPsec) filters are other important components that are required to help secure your network. However, if these technologies are configured to block ports and protocols that are used by a specific server, that server will no longer respond to client requests.


Applies to the following operating systems:
•   Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
•   Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
•   Microsoft Windows Server 2003, Standard Edition (32-bit x86)
•   Microsoft Windows Server 2003, Web Edition
•   Microsoft Windows Server 2003 R2 Enterprise Edition (32-Bit x86)
•   Microsoft Windows Server 2003 R2 Standard Edition (32-bit x86)
•   Microsoft Windows 2000 Server
•   Microsoft Windows 2000 Advanced Server
•   Microsoft Windows 2000 Professional Edition
•   Microsoft Windows 2000 Datacenter Server
•   Microsoft SQL Server 2000 Standard Edition
•   Microsoft SQL Server 2000 Enterprise Edition
•   Microsoft Exchange 2000 Enterprise Server
•   Microsoft Exchange 2000 Server Standard Edition
•   Microsoft Internet Security and Acceleration Server 2000 Standard Edition
•   Microsoft Windows XP Professional for Itanium-based systems
•   Microsoft Windows XP Home Edition
•   Microsoft Windows XP Professional
•   Microsoft SharePoint Portal Server 2001
•   Microsoft Systems Management Server 2003
•   Microsoft Systems Management Server 2.0 Standard Edition
•   Microsoft Systems Management Server 2003
•   Microsoft Operations Manager 2000 Service Pack 1
•   Microsoft Windows XP Tablet PC Edition
•   Microsoft Application Center 2000 Standard Edition

Hope this will be of some help :)


Ragwing

Offline LeoniAquila

  • Retired moderator
  • Comodo's Hero
  • *****
  • Posts: 6745
Re: List of Windows services, and what ports they require to run!
« Reply #1 on: August 19, 2007, 11:45:13 AM »
Thank you Ragwing, excellent initiative! :)

/LA

Offline Zito

  • Comodo's Hero
  • *****
  • Posts: 211
Re: List of Windows services, and what ports they require to run!
« Reply #2 on: October 14, 2007, 06:16:08 AM »
You can check which application is using which port by running the following command from a command prompt:
  • netstat -an -p tcp -b
If the list is too long, or if you want create a record of the output, add >ports.txt to the end of it so that it becomes:
  • netstat -an -p tcp -b >ports.txt
The file will be saved to the C:\Documents and Settings\{username} folder with whatever name you gave it ("ports.txt" in the example).

Here's an image of what's running on my system as I was writing this message:

[attachment deleted by admin]
CoolerMaster Praetorian aluminium case
Enermax Infiniti 720W PSU
AMD Athlon 64 X2 6000+
ASUS Crosshair motherboard
320GB WD Caviar SATA 3.0 HD
320GB Seagate 7200.10 SATA 3.0 HD
2GB Corsair Twin2X2048-6400C4
ASUS DVD-RW 1814BLT
Club3D 8800 GTX
NEC floppy drive
Windows XP Pro SP2

Offline edjay

  • Newbie
  • *
  • Posts: 6
Re: List of Windows services, and what ports they require to run!
« Reply #3 on: April 03, 2010, 02:16:02 PM »
You can check which application is using which port by running the following command from a command prompt:
  • netstat -an -p tcp -b

Hi Zito

I typed this in and my reply was: "The required operation requires elevation."  ???

I felt fairly sure this was not a reference to a U2 song.  :)

I tried switching to my admin account in Win7 and got the same answer. Any ideas?

Much appreciated

Offline John Buchanan

  • "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well armed lamb contesting the outcome of the vote." ~ Benjamin Franklin
  • Global Moderator
  • Comodo's Hero
  • *****
  • Posts: 6540
  • Personal Dragons can be defeated. Improve yourself
Re: List of Windows services, and what ports they require to run!
« Reply #4 on: April 03, 2010, 02:39:23 PM »
I usually use this link to check if ports are pre-assigned.
Please follow Comodo Forum Policy

Bah! Ban 'em all! The only good member is a banned member
And a member is just a policy violator who hasn't been caught yet. >:-D

Offline EricJH

  • Global Moderator
  • Comodo's Hero
  • *****
  • Posts: 23567
Re: List of Windows services, and what ports they require to run!
« Reply #5 on: April 03, 2010, 08:08:01 PM »
I usually use IANA port list. It doesn't look as slick as the Wikipedia list though but it is the first hit in Google...;)

Offline edjay

  • Newbie
  • *
  • Posts: 6
Re: List of Windows services, and what ports they require to run!
« Reply #6 on: April 04, 2010, 04:19:01 AM »
Thank you John and Eric, I've been having a quick look at those. Something I can perhaps understand a bit more about over time.........or maybe not.  :)

Any ideas on my original "elevation" question?

Offline Ragwing

  • Comodo's Hero
  • *****
  • Posts: 3498
Re: List of Windows services, and what ports they require to run!
« Reply #7 on: April 07, 2010, 03:59:53 PM »
I don't use Windows 7, but I assume it should be the same for Windows 7 as for Vista. Go to All Programs -> Accessories and right-click Command Prompt. From the context menu, choose Run as administrator. You should now be able to use commands that require administrator privileges. :)

Offline edjay

  • Newbie
  • *
  • Posts: 6
Re: List of Windows services, and what ports they require to run!
« Reply #8 on: April 07, 2010, 06:16:19 PM »
Thanks Ragwing, that did the trick: Funny, I tried my admin account the other day with no success?

I get the feeling I'm about to ask a "can of worms" question for myself: If I have only 5 ports open through the "my ports sets" facilities in Comodo Firewall - which I must add, apprears to have kept my system clean for the last couple of years - how can there be so many ports still open on my system? I count 41, nearly 30 of which are for Firefox.

Sorry for the green questions but I don't think I'll be mastering in network science somehow - although, as I learned through using some Linux systems, it is good to have an interest in your system security. I think my greatest security, apart from Comodo, is that I enjoy wiping my system on a regular basis to keep my hand in.

Thanks again.

Offline loureed4

  • Comodo Member
  • **
  • Posts: 41
Re: List of Windows services, and what ports they require to run!
« Reply #9 on: January 26, 2012, 07:51:44 AM »
Thanks for the information, it´s really useful.

I was visiting this forum to make a question but I ran into this thread and it is very enlighting (I am Spanish, sorry for my English).

I checked all the links you placed here, and apparently the ports from 49152 to 65365 are random, and my question was about that:

When I execute as an Admin (Windows Vista) netstat -anb -p tcp I see some ports: 49152,49153...49156 and I see that all belong to system stuff such as: wininit.exe, Eventlog,nsi,schedule, lsass.exe and services.exe

For what I have read in the links, I would say I shoudn´t be worried about that, because, even if these port are listening, they have to ..don´t they? . I mean, I am not so sure about it.

Anyway, when I go to "Comodo Internet Security Premium" to the section "Active Connections" in the Firewall area, I don´t see these ports named above, so, I think I can be reassured, but still not sure.

In short: Is it normal that such services are listening in those ports?

Thanks in advance!

[attachment deleted by admin]

 

Seo4Smf 2.0 © SmfMod.Com Smf Destek