Server Port Allocation
Your port number is based off your username.
Nginx/Pound/Lighttpd ports start at 8000 and are modified by the last three digits of your VU username. vu2123 would run Nginx,Pound, or Lighttpd on port 8123. (8000 + 123) = port 8123
Postgresql ports start at 5400 and are modified by the last three digits of your VU username. vu2321 would run postgresql on port 5721. (5400 + 321) = port 5721
Mongrel ports are 1+ last three digits of your vunumber + 0-9
vu2029 would be 10290 to 10299 (1 029 0-9) You probably want 2 ports per application.
In the shell: If you want to be fancy you can add port numbers to your Server Environment Variables.
Not that the configuration files will read the environment, they’re just files. But rc.local is run by the shell.