Use a simpler port format for the erps service details, and add a special case for lags.