I try to start a mongo server, but it can't connect to any port. I guess it is because of my loopback, which seems to be not up (not even sure of that - I am not an infra-expert :-/ ) I tried:
$sudo ifconfig lo:0 127.0.0.1 netmask 255.0.0.0 up
But i still have :
$ifconfig lo
lo Link encap:Local Loopback
LOOPBACK MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
conf :
$ cat /etc/hosts
127.0.0.1 localhost
192.168.0.39 localhost
127.0.1.1 pl
192.168.0.38 wk
Any idea ?
sudo netstat -ntlup | grep 127.0.0.1
do you get any output?