Getting the platform port.