Solved

Connecting to a .Net web service running in the asp.net Development server using IP Address

Posted on 2011-09-28
5
309 Views
Last Modified: 2012-05-12
This is hopefully an easy one - me missing something obvious.
I've got a web service written in VS2010. I run it and it fires up in the development server, port 3730.
I can access it and debug it with no problem at all using the URL as follows:
http://localhost:3730/WebService.asmx.
If I change the localhost to my IP address:
http://l192.168.2.31:3730/WebService.asmx
I get a Internet Explorer cannot display the webpage error.
Its an issue cos I'm trying to access the WS from a Windows mobile PDA Emulator and it doesn't want to connect.
Any ideas ?
0
Comment
Question by:Phil Catterall
[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
  • 3
  • 2
5 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 36771474
0
 

Author Comment

by:Phil Catterall
ID: 36995966
Yes - it was a typo. It should have read http://192.168.2.31.
So to re-cap, if I use the "Localhost" URl it's fine.
Use my IP address - doesn't work.
127.0.0.1 DOES work.
But the emulator can't use that - it needs to access it via the IP address.
Even using my machine name doesn't work.
I'm sure I am missing something obvious.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 37012707
Can you tell me how you are testing this setup, and which emulator that you are using?
0
 

Accepted Solution

by:
Phil Catterall earned 0 total points
ID: 37092715
Emulator is WM5, but it's the same from all of them.
And it's not the emulator which is the issue. It's trying to access the WS via an IP address that's the problem.
I've solved it though I think now by hosting the WS in IIS rather than the .Net development server.
It's still a mystery why the development server doesn't seem to like being addressed via IP address.
Bit weird.
0
 

Author Closing Comment

by:Phil Catterall
ID: 37119204
Resolved with a work-around
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

726 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