title: Access Web Service via Local Area Network
body: <p>My problem is that I tried changing the localhost to <code>ip address</code>/<code>computer name</code> and still cannot access. My web service  link goes like this <code>http://localhost:1228/TryService.asmx?op=HelloWorld</code>.</p>
  
  <p>How can I make it accessible thru the local area network? </p>
  
  <p>Thanks for the reply</p>
  
  <p>Current Code:</p>
  
  <p>I haven't touched in webconfig</p>
  
  <pre><code>/// &lt;summary&gt;
  /// Summary description for EDCService
  /// &lt;/summary&gt;
  [WebService(Namespace = "http://tempuri.org/")]
  [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
  [System.ComponentModel.ToolboxItem(false)]
  // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. 
  // [System.Web.Script.Services.ScriptService]
  public class EDCService : System.Web.Services.WebService
  {
  
      [WebMethod]
      [ScriptMethod(ResponseFormat = ResponseFormat.Json)]
      public string HelloWorld()
      {
          return "Hello World";
      }
  }
  </code></pre>
  
  <p>app MOVE TO IIS UPDATE:</p>
  
  <p>ERROR</p>
  
  <pre><code> HTTP Error 500.21 - Internal Server Error
  Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list
  </code></pre>