title: Deploying with Visual Studio 2019 to Hololens 2
body: <p>I am trying to deploy to my Hololens 2 and I'm trying to connect to it via wifi.</p>
  <p>I am following the instructions here:
  <a href="https://docs.microsoft.com/en-us/windows/mixed-reality/mrlearning-base-ch1" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/windows/mixed-reality/mrlearning-base-ch1</a></p>
  <p>I also followed the instructions here for connecting via wifi:</p>
  <p><a href="https://docs.microsoft.com/en-us/windows/mixed-reality/using-visual-studio#enabling-developer-mode" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/windows/mixed-reality/using-visual-studio#enabling-developer-mode</a></p>
  <ol>
  <li>I am using Master/Arm64/Remote Machine</li>
  <li>I got the IP address for my Hololens 2 and put it in the Remote Machine Name under Project -&gt; Properties -&gt; Configuration Properties - &gt; Debugging -&gt; Remote Machine.</li>
  <li>For authentication type, I am using &quot;No Authentication&quot;.</li>
  <li>The project builds successfully</li>
  <li>Problem comes from when I try to deploy.</li>
  </ol>
  <p>The error message I am getting is this:</p>
  <blockquote>
  <p>DEP6957: Failed to connect to device '127.0.0.1' using Universal
  Authentication. Please verify the correct remote authentication mode
  is specified in the project debug settings. COMException - No
  connection could be made because the target machine actively refused
  it. (Exception from HRESULT: 0x8007274D) [0x8007274D]</p>
  </blockquote>
  <p>I have confirmed that my machine is in fact turned on when I try to deploy.</p>
  <p>Has anyone seen this before?</p>
  <p>Do you have any suggestions?</p>
  <p>My ip address, on my hololens, is not 127.0.0.1, why does it say that is my IP address? I put something completely different in Configuration Properties -&gt; Debugging.</p>