why would a web service not resolve an IP address??

  • Thread starter Thread starter Craig G
  • Start date Start date
C

Craig G

i am having problems with my development environment

i have a webservice (mywebservice.asmx)

when i add the web reference into the development environment it will only
allow me to use the machine name to specify the URL of the web reference. if
i replace the machine name with the IP address it is unable to resolve the
IP address. is there a settin or something that would be preventing me from
doing this?

i.e.

http://machine1a/ers_Web/ers_Webservice.asmx - will resolve fine

but

http://<myIP address>/ers_Web/ers_Webservice.asmx - will not resolve even
though the IP address is correct

any idea's would be greatly appreciated.

Cheers,
Craig
 
Hi Craig
There should be no other configuration for that, using the IP should be
equivalent to using the machine name. For example this should work from
inside the proxy class
me.Url = http://<IP>/WebService1/Service1.asmx
Try to check if there is another problem or double-check the IP

Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top