I sometimes wonder how I've got this far in development.
Moved the SERVER code BACK to the SERVER.