I realised that my Bench does not Start when I am not connected to the internet. This is part of the error returned back at the terminal when I run ‘bench start’
20:11:16 socketio.1 | listening on *: 9001
20:11:16 socketio.1 | events.js:160
20:11:16 socketio.1 | throw er; // Unhandled ‘error’ event
20:11:16 socketio.1 | ^
20:11:16 socketio.1 |
20:11:16 socketio.1 | Error: Redis connection to localhost:12001 failed - getaddrinfo EAI_AGAIN localhost:12001
20:11:16 socketio.1 | at Object.exports._errnoException (util.js:1018:11)
20:11:16 socketio.1 | at errnoException (dns.js:33:15)
20:11:16 socketio.1 | at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
Bench starts just fine if I have an active internet connection. I would like to continue developing even during the few times I don’t have net.
If it’s of any relevance, I am running ubuntu 14.04 and here is my /etc/hosts and I access my sites on port 8001 e.g. http://sc3:8001
127.0.0.1 sc3
127.0.0.1 sc4
127.0.1.1 xxxxxxxxxxx
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Thanks for the continued help.
Rgds,
Scrum