1 year ago
#357032
Russell Harrower
NodeJS + ExpressJS listen connection error
I am getting the following error when I try and connect to my ExpressJS
error: Command failed: host ::ffff:XX.XXX.X.XX
I am trying to get the app to also allow IPv6 access.
Old code
httpsServer.listen(9000, '0.0.0.0', () => {
console.log('HTTPS Server running on port 9000');
});
new code
httpsServer.listen(9000,'::', () => {
console.log('HTTPS Server running on port 9000');
});
node.js
express
ipv6
0 Answers
Your Answer