port and db can config now.