Re: Cannot connect to Web service or ASP.NET website from another mach
- From: "Peter Kelcey" <Peter.Kelcey@xxxxxxxxx>
- Date: 20 Oct 2005 13:38:37 -0700
Naveed,
VS 2005 ships with a built in web server called cassini. For security
reasons, this web server only handles requests from the local machine.
So you can only use it for debugging locally. If your application is
not deployed in IIS and you try to run the application from VS2005,
then this local web server takes over automatically. You can use
Cassini for debuging you app, but once you've finished, you will need
to upgrade it it to run under IIS.
You can add a web reference to you new webservice from another
application on the same machine. If you want to do this, you will
probably want to turn off the dynamic ports feature that uses a random
port number each time you run the app. To do this, select the property
grid for your project and you'll see a "use dynamic ports" property. If
you set this to false, you can hard-code a port to launch your app
under so that you can connect to it from another local application.
Hope that helps
Peter
.
- Prev by Date: .NET Form Client Connection to .Net Web Service via SSL
- Next by Date: RE: .NET Form Client Connection to .Net Web Service via SSL
- Previous by thread: .NET Form Client Connection to .Net Web Service via SSL
- Next by thread: WSE 2.0 - SoapHeaders, Signatures and DigestValue
- Index(es):
Relevant Pages
|