Use local ip as server ip.