Using Raspberry Pi as a gateway

Hi,
I am trying to replicate the green house eclo tutorial listed here http://airvantage.github.io/tutorials/eclo/. In that I am facing issues in installing and configuring Mihini on Raspberry Pi. For Mihini Stuff I am referring to this website http://wiki.eclipse.org/Mihini/Build_Mihini . In that I am not able to execute telnet command
$ telnet localhost 2000. on executing this command I am getting the below error
$ telnet localhost 2000
Trying 127.0.0.1…
Trying ::1…
telnet: Unable to connect to remote host: Address family not supported by protocol

can anyone help me in solving this problem

Why is this posted in the ‘Archive’ forum :question:

Not really anything to do with Sierra Wireless - the Mihini mailing list would seem a more appropriate place:

eclipse.org/mihini/

Or a Raspberry Pi forum :question: