fixed port bug for redis port change