change server addr type