title: localhost connection database
body: <p>I can't seem to connect to localhost on my local machine. I go into the terminal and type:</p>
  
  <pre><code>ping google.com
  </code></pre>
  
  <p>And I see the IP address. </p>
  
  <p>If I then go to try to ping my localhost,</p>
  
  <pre><code>ping 127.0.0.1
  </code></pre>
  
  <p>I see nothing. </p>
  
  <p>Where does my local router connect to?</p>
  
  <h1>edit</h1>
  
  <p>ipconfig:</p>
  
  <pre><code>rick@instance-2:~$ ipconfig
  No command 'ipconfig' found, did you mean:
   Command 'tpconfig' from package 'tpconfig' (universe)
   Command 'ifconfig' from package 'net-tools' (main)
   Command 'iwconfig' from package 'wireless-tools' (main)
  ipconfig: command not found
  </code></pre>
  
  <h1>edit2</h1>
  
  <p>ifconfig:</p>
  
  <pre><code>rick@instance-2:~$ ifconfig
  
  lo        Link encap:Local Loopback  
            inet addr:127.0.0.1  Mask:255.0.0.0
            UP LOOPBACK RUNNING  MTU:65536  Metric:1
            RX packets:31709438 errors:0 dropped:0 overruns:0 frame:0
            TX packets:31709438 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:0 
            RX bytes:22644332327 (22.6 GB)  TX bytes:22644332327 (22.6 GB)
  
  lo:0      Link encap:Local Loopback  
            inet addr:192.168.0.1  Mask:255.255.255.0
            UP LOOPBACK RUNNING  MTU:65536  Metric:1
  </code></pre>