javascript - server.address().address is not set when https.createServer() in node -


simple this:

server.address().address blank. why this? can set it?

server = https.createserver(options, app).listen(port, function () {   console.log('listening on https://' + server.address().address + ':' + server.address().port); }); 

which returns

listening on https://:::9804

server.address() returns

{ address: '::', family: 'ipv6', port: 9804 }


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

mysql - FireDac error 314 - but DLLs are in program directory -