title: How to access a raspberry pi localhost from a linux?
body: <p>I set up a php file in my raspberry pi so that I can access some files on it from my local network.</p>
  
  <p>Within raspbian, it works well in any browser using <code>localhost/test</code>. I tested it also in a Windows and a Mac computer in the same network, using <code>my.local.ip.address/test</code> in my browsers and it also worked fine.</p>
  
  <p>Now here is the problem: in my linux computer, it does not work. It simply says that "the site cannot be reached". I already tried disabling the firewall (UFW) but it doesn't change anything.</p>
  
  <p>I also tried several browsers in linux and the result is the same.</p>
  
  <p>I think I am overseeing something obvious but I cannot see it.</p>
  
  <p>Could someone give me a pointer on what might be wrong?    </p>
  
  <p><strong>ifconfig -a output (Linux machine)</strong></p>
  
  <p><a href="https://i.stack.imgur.com/u0jtF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u0jtF.png" alt="enter image description here"></a></p>
  
  <p><strong>ifconfig -a output (Raspberry Pi machine)</strong></p>
  
  <p><a href="https://i.stack.imgur.com/Tz2EO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Tz2EO.png" alt="enter image description here"></a></p>