add show local ip, local port func