Solved

Cannot establish connection between emulator and IIS on my machine

Posted on 2009-05-17
7
566 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
Too many email signature updates to deal with?

Do you feel like you are taking up all of your time constantly visiting users’ desks to make changes to email signatures? Wish you could manage all signatures from one central location, easily design them and deploy them quickly to users? Well, there is an easy way!

 
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
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.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

747 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

11 Experts available now in Live!

Get 1:1 Help Now