port param was not being respected