set default port to 8000 and make it assignable