Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to resolve "Failed to connect to device '127.0.0.1' using Universal Authentication"?

Tags:

uwp

I keep getting this error everytime I try to deploy my UWP app to my local device.

Severity Code Description Project File Line Suppression State Error 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] Voip

I have absolutely ZERO idea on how to resolve this, as it seems everyone else that has this issue is trying to connect to a remote device.

like image 614
Scornz Avatar asked Jul 24 '20 17:07

Scornz


1 Answers

I got the same error. The problem disappeared when I changed the platform to x86 (or x64) in Visual Studio's configuration manager.

enter image description here

like image 199
ZP007 Avatar answered Nov 17 '22 17:11

ZP007