Change server port assignment to be based upon process id instead of searching a range.