Normally there's a "services" file in C:\Windows\System32\drivers\etc , it lists out the services running and the port to be used.
However what does the word "service" mean here? It's not the "Windows Service", which could be seen when you run "services.msc". Such 2 lists don't tally.
And, this "services" file content could be outdated -- nobody to update it: programs still can communicate through some port without updating the "services" file, if they have some agreement; also, if some program is not running, some port is not taken, the "Windows services file" is also not updated.
So what is this file for?
Anywhere could I find some documents? Maybe because of the popular file name, I have searched on internet but most links are about "Windows Services"... not this "Windows Services File"...
One more question, since the "services" file can be outdated, is there a way to list out all active "services"?