Has anyone setup hapi.js on gomix?


#1

I’m trying to start the server using hapi.js using this code:
server.connection({ port: 3000, host: ‘localhost’ });

But I’m not sure what the host should be - any ideas?


#2

Nevermind, figured it out!


#3

Pleased to hear it. Just for others who come across this - 0.0.0.0 is the best bet.