title: How can i access local host running on the same network
body: <p>How can i access localhost running on the same network with common router.</p>
  
  <p>Now i have done two thing: Changes the windows host file and added this line</p>
  
  <pre><code>192.168.1.5 mysite
  </code></pre>
  
  <p>where 192.168.1.5  is the Ip of the target machine(running Xamp server).</p>
  
  <p>Now if i enter the ip: 192.168.1.5 in my browser i can directly connect to the xamp server Which is great. however i cannot connect to the localhost:81 running on the server.</p>
  
  <p>I tried doing 192.168.1.5:81 to access the service running on port 81 on server but it did not work. The funny thing is I can connect to 192.168.1.5:80 which is the default configuration.</p>
  
  <p>Is there any change i need to make on my machine or the other machine where the Xamp server is running</p>