a few doc comments
use a random port if none is given