Let foreman decide the port