Changed the default socket connection to localhost