Change local socket