port settings to erb