removed hardcode of port