Ensure server always has the same uuid

Minor change to ensure the server always has the same uuid even when the
port number hasn't been set by the user so is being randomised