2015-10-08 113 views
0

我似乎無法連接到本地機器上的localhost。我進入終端並輸入:本地主機連接數據庫

ping google.com 

而且我看到了IP地址。

如果我然後去嘗試ping我的本地主機,

ping 127.0.0.1 

我什麼也看不見。

我的本地路由器連接到哪裏?

編輯

IPCONFIG:

[email protected]:~$ 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 

EDIT2

使用ifconfig:

[email protected]:~$ 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 
+0

我已經編輯我的問題你的遠程漏斗斷開現在 –

+0

使用ifconfig結果是 –

回答

0

您可以通過走出去終端從遠程主機斷開您當地的人力和糖化:

tracert google.com 

那裏,你會unsee的PI地址

tracert 127.0.0.1 

你看到的一切

這就是從