Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Cannot establish connection between emulator and IIS on my machine

Posted on 2009-05-17
7
Medium Priority
?
590 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 750 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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Windows 10 Creator Update has just been released and I have it working very well on my laptop. Read below for issues, fixes and ideas.
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
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…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Suggested Courses

916 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