title: Consuming web service from a remote computer
body: <p>I have a desktop application built with jdk 6 which publishes web services to be consumed by a web application. So far I've had no problem while both applications are running in the same physical computer, i can access the wsdl without any problem and the web application works with the desktop application just fine. The thing is I cannot access to the services from a remote computer in the same network. The two PCs are connected and can interact. If I run both applications in PC1, from PC2 I can use the webapp through </p>
  
  <pre><code>http://PC1:8080
  </code></pre>
  
  <p>I am currently publishing like this:</p>
  
  <pre><code>public Publicador(){
   servicios= new Servicios();
  Endpoint endpoint = Endpoint.publish("http://PC1:8686/servicios", servicios);
  }
  </code></pre>
  
  <p>where PC1 is the name of the pc. From PC1, i can see the generated wsdl from the following address, and it's the one I used for the wsimport command:</p>
  
  <pre><code>http://PC1:8686/servicios?wsdl
  </code></pre>
  
  <p>But I cannnot from PC2.</p>
  
  <p>Any ideas why it is not visible from outside PC1?</p>