Solved

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

Posted on 2011-09-28
5
305 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:Serversys
  • 3
  • 2
5 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 36771474
0
 

Author Comment

by:Serversys
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:
Serversys 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:Serversys
ID: 37119204
Resolved with a work-around
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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…
Here I am going to explain creating proxies at runtime for WCF Service. So basically we use to generate proxies using Add Service Reference and then giving the Url of the WCF service then generate proxy files at client side. Ok, what if something ge…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

758 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now