nacos-sdk-nodejs icon indicating copy to clipboard operation
nacos-sdk-nodejs copied to clipboard

实例化NacosNamingClient类,提示write ENOTSUP错误

Open yytt968 opened this issue 4 years ago • 1 comments

实例化NacosNamingClient类,提示write ENOTSUP错误

windows系统 node 12.16.2 egg 2.15.1 nacos 2.1.1
1622613335 1622613335(1)

yytt968 avatar Jun 02 '21 05:06 yytt968

在Windows上并在Node中使用群集引起的,核心模块是dgram,如果是用随机绑定,但没有exclusive:true就会发生这个问题,this._server.bind() this._server.bind({port: 0, exclusive: true}, null);

PerttyZhan avatar Jul 07 '21 03:07 PerttyZhan