change emc dns port to standard and fix port condition