Pass in port param correctly