Always connecting to localhost