What is port 17777 used for in version 9?
To be able to manage nodes from the web console. The website communicates with the Module Engine on port 17777.
Also...
The Universal Device Poller application talks to the Module Engine, which talks to the Job Scheduler, which talks to the Job Engine.
All on port 17777. This works thanks to Microsoft's Net.Tcp Port Sharing Service.