Windows 7 TCP Listen Ports
My fresh install of Windows 7 shows 5 programs listening on TCP ephermeral ports 49152, 49153, 49154, 49155, 49157. netstat -ano shows that one of the processes is wininit.exe. Why is wininit.exe listening for TCP traffic and how do I prevent it? (I don't want to have to firewall it).
December 17th, 2009 11:37pm

Ok, I've determined they are RPC ports. I'm trying to use rpccfg.exe from the resource kit to bind to the loopback interface, but i get the following error: >rpccfg -a 1 This version of Windows does not support accept lists What gives? How do I bind RPC servers to the loopback if rpccfg.exe won't let me?
Free Windows Admin Tool Kit Click here and download it now
December 18th, 2009 1:17am

Answering my own question... It seems like netsh rpc add 127.0.0.1 does the trick... However, since now it seems that lots of programs use RPC, I'd really like to bind most services to 127.0.0.1 and leave things like port 135 (for file sharing) on 0.0.0.0. This seems REALLY lame. Why on earth is wininit.exe listing on an externally reachable network interface???
December 22nd, 2009 12:04am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics