Added so that it connects directly to the locally created server(127.0.0.1).