PC Review


Reply
Thread Tools Rate Thread

can't find webservice using IP

 
 
fairyvoice
Guest
Posts: n/a
 
      10th Oct 2008
Hi, i create an asp.net webservice, then reference this webservice in another
project in the same machine, it works well when using "localhost" to locate
the webservice but fails when using the ip address of my machine (neither
does using the hostname), it says "downloading webservice error because of
the destination machine rejecting..."
It seems not a development problem but one of the windows configuration, i
just hope get some help here.
the running env is vista+vs2008, and there are two net devices available,
and i am also confused about which ip i should use when access the webservice
from the net.
thanks in advanced
 
Reply With Quote
 
 
 
 
Alberto Poblacion
Guest
Posts: n/a
 
      10th Oct 2008
"fairyvoice" <(E-Mail Removed)> wrote in message
news:E477FDF2-0128-444C-80A4-(E-Mail Removed)...
> Hi, i create an asp.net webservice, then reference this webservice in
> another
> project in the same machine, it works well when using "localhost" to
> locate
> the webservice but fails when using the ip address of my machine (neither
> does using the hostname), it says "downloading webservice error because of
> the destination machine rejecting..."
> It seems not a development problem but one of the windows configuration, i
> just hope get some help here.
> the running env is vista+vs2008, and there are two net devices available,
> and i am also confused about which ip i should use when access the
> webservice
> from the net.


Are you hosting the webservice in IIS, or in the internal server in
Visual Studio? It it is the latter, then you are out of luck: the internal
server only responds to localhost; you will need to move the webservice into
IIS if you wish to access it through your computer's external IP address.

 
Reply With Quote
 
fairyvoice
Guest
Posts: n/a
 
      10th Oct 2008
Thank you Alberto.
Do yo mean i have to publish it in the IIS? It seem i do create it in the
file system
 
Reply With Quote
 
fairyvoice
Guest
Posts: n/a
 
      10th Oct 2008
Thanks, it is my first time dealing with
 
Reply With Quote
 
Alberto Poblacion
Guest
Posts: n/a
 
      10th Oct 2008
"fairyvoice" <(E-Mail Removed)> wrote in message
news:F36CB8C6-75C2-4994-9101-(E-Mail Removed)...
> Do yo mean i have to publish it in the IIS? It seem i do create it in the
> file system


Yes, the option to create the project on the File System is only for
development. Visual Studio will run it on its internal server, but this is
not accessible from outside the computer. You will need to publish the
application on the local Internet Information Server, assuming that you have
it on your version of Windows.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
static class, used in a webservice, cannot find it's XML file j Microsoft C# .NET 2 9th Apr 2007 08:44 PM
Webservice Error Unable to find System.Web commanderjason@gmail.com Microsoft Dot NET Framework 1 11th Dec 2006 12:42 AM
Problem! webservice.htc calling nonsecure webservice from a secured ssl https webpage batista Microsoft ASP .NET 1 26th Jan 2006 12:05 PM
Cant get CF APP to find my Webservice in 2005 =?Utf-8?B?R2VvZmY=?= Microsoft Dot NET Compact Framework 11 16th Nov 2005 01:23 PM
How do i Find out the webservice existence kumar r Microsoft ASP .NET 1 24th Oct 2003 01:39 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:51 PM.