Localhost HTTPS bugs with antivirals (and their fix)

Not for Babylon, but for test setups. If you are using Node ExpressJS + Kapersky Internet Security, some versions will kill your https server. However, the fix is pretty simple - adding ‘localhost’ as shown:

let serverSecure = https.createServer({
key: sslkey,
cert: sslcert
}, app);
serverSecure.listen(securePort, ‘localhost’, () => {

});

1 Like