I\'m developing a Windows 8.1 chat client app with metro app and win32 desktop. Problem in not connected from winrt app to win32 app on Tcp socket - exception connected failed w
Windows Store apps by default are blocked from connecting to other apps on the same machine.
This block can be suppressed during debugging or (as of the Windows 8.1 Update) bypassed for side-loaded apps (chue x's links and "can't be done" comment are true for Windows 8, but now out of date).
There is no certifiable way to loop back for an app deployed through the store.
See How to enable loopback and troubleshoot network isolation (Windows Store apps) and Using network loopback in side-loaded Windows Store apps