title: jwt.auth laravel 5.2 package token is not working with my ip address
body: <p>I am using laravel 5.2.And for authentication I am using "jwt.auth" package to generate JSON web tokens.</p>
  
  <p>I started the server</p>
  
  <pre><code>php artisan serve
  </code></pre>
  
  <p>Now,</p>
  
  <p>I'll send a get request to my server to the url:</p>
  
  <pre><code>localhost:8000/api/v1/company
  </code></pre>
  
  <p>and I pass Authorization: Bearer {token} in header.</p>
  
  <p>I get response.</p>
  
  <p>Now I do the same thing with my ip address(as we are working in LAN):</p>
  
  <pre><code>http://10.0.1.65/project/public/api/v1/company
  </code></pre>
  
  <p>and I pass Authorization: Bearer {token} in header.
  This is returning me {"error":"token_not_provided"}</p>
  
  <p>The controllers that aren't using the jwt.auth is working fine.But the one using is returning this.</p>
  
  <p>I don't have any idea of what's happening inside.</p>
  
  <p>How come this happen?Working for localhost but not working with my IP?</p>