Problem in accessing webservice frm another compuer on LAN,plz help!!

V

vinaynahata

I am having some problem in webservices.When i create a webservice in
VS2005 ,it runs the webservice on an arbitrarily selected port .The
webservice works perfectly fine on the local machine.Further wen i try
to access the same webservice frm any other machine on LAN,it is not
able to access tat webservice.
Suppose on local machine ,the webservice url is :
http://localhost:2231/mywebservice/service.asmx

wen i try to access the same webservice from another comp on lAN ,it
doesnt open..The URL typed is :
http://172.19.3.37/myweb/mywebservice/service.asmx (\\172.19.3.37 being
IP address of the comp on which webservice resides).I hav disabled
evry firewall also.It results into the following error:(Should i not
mention the port while accessing the webservice(as in localhost),howevr
doing so results into "Page cannot be displayed" so i removed the port
no. which results into following error:-

Server Error in '/myweb' Application.
Runtime Error
Description: An application error occurred on the server

Howevr the webservice works fine on localhost.

Further i also wanted to know how to assign our own port on which we
want our webservice to run.

I would b very thankul to u fr ur help.

Thanx in advance.
 

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

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top