Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9049563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T12:25:47+00:00 2026-06-16T12:25:47+00:00

I am developing a client/server Javascript Windows 8 Metro application and I used Microsoft’s

  • 0

I am developing a client/server Javascript Windows 8 Metro application and I used Microsoft’s StreamSocket sample to make the communication between server and client happen. Now that I am almost done with the implementation, I don’t know how to test it on my computer, because it seems impossible to run the same application more than one time. Do you know any workaround for this problem?

One workaround (which is not actually a solution) is to copy the application many times into different projects and launch one of them as server and launch other ones as clients. Even using this approach, I could not connect my clients to the server instance. When server instance is not started, after client’s attempt for connecting to server, this error message is returned:

“No connection could be made because the target machine actively refused it.”

But, when the server instance is started and listens for connections, after client’s attempt for connecting to server, it waits for a while and then this error message is returned:

“A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.”

I know that using localhost for connecting clients to server is not supported, and because I am connected to network, I use my computer’s IP address as the clients’ address.
I also added these capabilities in both server and clients:

  • Internet (Client)
  • Internet (Client & Server)
  • Private Networks (Client & Server)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T12:25:48+00:00Added an answer on June 16, 2026 at 12:25 pm

    The limitation of Windows Store apps not beeing allowed to establish a connection with localhost can be circumvented for debugging purposes using CheckNetIsolation.exe. You can add an app to be exempt from the loopback isolation by calling:

    CheckNetIsolation.exe LoopbackExempt –a –n=myapp_ecet6zh215f62e
    

    where the last part (myapp_ecet6zh215f62e) is the Package family name of your app which can be found on the Packaging tab of Package.appxmanifest file.

    You can also list all the apps that are already exempt:

    CheckNetIsolation.exe LoopbackExempt –s
    

    More details about CheckNetIsolation.exe can be found here.

    All applications that are run from Visual Studio should already be exempt, though. Maybe there’s a firewall preventing your two app instances to connect. Try temporarily disabling it, just to be sure.

    There’s no way to run multiple instances of your application on a single machine, at least not that I know of. In your case I’d probably install a virtual machine on my computer and run the second instance from there. This would be a better simulation of real environment anyway and you’d even avoid having to deal with loopback isolation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing an client server communication application in C. I want to encrypt
I'm currently developing a client/server application in Java and i can't make up my
I'm developing client-server application by using .Net, C#, WCF, WPF. And now I need
I'm developing a client-server application and have been tasked with adding support for running
I am developing a client-server application using .Net Remoting. From my server I want
I am developing a Client-Server based application in which client application will access server
I'm developing a server-client application. The server listens on some port (ex : 9090).
I'm developing a server-client application that uses 3 ports [TCP SOCKET .Net 4.0].. So
I'm developing an web app with jsp,servlet in server side and javascript in client
I'm developing a RIA application where there is javascript on the client (i'm using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.