Wednesday, July 11, 2012

ASP.NET Web Service - The test form is only available for requests from the local machine


If you simply open the web config file and add the following, you will be able to access the test form outside of the localhost:


<configuration>
    <system.web>
    <webServices>
        <protocols>
            <add name="HttpGet"/>
            <add name="HttpPost"/>
        </protocols>
    </webServices>
    </system.web>
</configuration>

No comments:

Post a Comment