#9 if port is not set, set it explicitely