Solved

Cannot establish connection between emulator and IIS on my machine

Posted on 2009-05-17
7
583 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 
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

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

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

This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

622 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