fix: should use localAddress instead of remote address.

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>