chnages url for socket