remove dependency on ports.conf