Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Cannot establish connection between emulator and IIS on my machine

Posted on 2009-05-17
7
Medium Priority
?
587 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 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
Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

 
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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
Know the reasons and solutions to move/import EDB to New Exchange Server. Also, find out how to recover an Exchange .edb file and to restore the file back.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
Suggested Courses

722 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