use port if passed