Connects to a local server on watch task