swapped connection back to localhost instead of the webservice