"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.
|