Solved

Cannot establish connection between emulator and IIS on my machine

Posted on 2009-05-17
7
569 Views
Last Modified: 2013-12-21
I am using VS2008, windows mobile 6 classic emulator on WinXP.

I created a new web service (virtual folder, same machine)  and a new mobile app.
I can get to the web service from a browser  I see the service and all looks ok.
Coming from the mobile emulator, I get the following:
If I am trying to connect via localhost 
{"No connection could be made because the target machine actively refused it"}

If I try to connect via the machine name  
http://MyMachine/myVirtFold/xxx.asmx
I get
could not establish connection to network.

Ive tried killing the firewall, changing permissions.
I dont know what else to try -  or how to tell what the problem really is.
Thanks!

0
Comment
Question by:ampflp
  • 4
  • 3
7 Comments
 
LVL 48

Accepted Solution

by:
Mikal613 earned 250 total points
ID: 24407608
use your local ip instead of MyMachine
0
 

Author Comment

by:ampflp
ID: 24407649
- Cool - that worked.  But - I need to get it working with my machine name if possible. Do you have an idea of what is different there?
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 24407658
its a bug of Windows Mobile resolving the DNS ip
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 48

Expert Comment

by:Mikal613
ID: 24407663
if your using c# try this to get the IP of the host machine

Dns.GetHostEntry(Dns.GetHostName()).AddressList[0];
0
 

Author Comment

by:ampflp
ID: 24407724
That is getting the IP address of my emulator, I'm not sure how that can help?

this bug - does that mean there's no way to get it working using a machine name?  (just wondering)...
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 24407793
not right now. which CF are you using?
0
 

Author Comment

by:ampflp
ID: 24407859
V3.5
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
You should read OS supplied guidelines before developing. I can't stress that enough. The guidelines will help you understand the reasons mobile app developers do what they do.  Apple is very particular when they review appstore submissions.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now