title: Localhost:4200 on phone
body: <p>I have been trying to open localhost:4200 on my android phone. </p>
  
  <p>My project is in Angular 4 and I work with GIT Bash.</p>
  
  <p>I tried with these commands:</p>
  
  <pre><code>npm start --host 0.0.0.0
  npm start --host 192.168.1.7
  npm start --host 0.0.0.0 --disable-host-check
  npm start --host 192.168.1.7 --disable-host-check
  </code></pre>
  
  <p>The project starts and this parts run smoothly, no matter which command.</p>
  
  <p>But when I try to open my project as</p>
  
  <pre><code>192.168.1.7:4200
  </code></pre>
  
  <p>or</p>
  
  <pre><code>localhost:4200
  </code></pre>
  
  <p>It says: <strong>This site can’t be reached</strong></p>
  
  <p>I turned off my firewalls, I checked my IP address in command prompt with <em>ipconfig</em> and under IPv4 Address is that address. My phone and my laptop are connected to the same WiFi network, but what I noticed is that my laptop says the IP address is 192.168.1.7 and my phone says 192.168.1.4, either way, I tried both, even in the command in bash.</p>
  
  <p>What am I doing wrong?</p>