Added IPv6 Support to app.js