This should work remotely straight off. Is the remote machine on a domain? Or
are they home networked? If they're home networked then the name of the
machine may not be translated to an IP Address by a DNS server.
Have you tried:
http://192.168.2.1/MySite/MyService.asmx
(where 192.168.2.1 is the IP address of MyServerName)
What happens if you visit the above? Do you get any page displaying or an
error message?
If you get an error message what is the error message? It could be that for
the virtual directory, it's somehow become configured to allow traffic only
from a specific IP Address range, along the same lines the WebSite may have
only been configured to received HTTP requests on a particular IP Address
(127.0.0.1 / localhost) instead of "All unassigned IP Addresses".
If you could give me some more information regarding the above then I may be
able to help further.
Hope the suggestions help anyway.
--
Kurt Farrar
..NET Developer & Computer Enthusiast
"Jazz" wrote:
Hello,
I have a webservice(called MyService) which exposes one method(called
MyMethod)
On the local machine, it can be tested by accessing
http://MyServerName/MySite/MyService.asmx/MyMethod
But it doesn't work if I access the above one from a remote machine. IS
there any setting I can change in the web.config to make it work remotely?
Thanks,