Use getport to find an open port rather than hard-coding 9000