?
Solved

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

Posted on 2011-09-28
5
Medium Priority
?
310 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

770 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