Skip to content

can not connect rabbitmq with ipv6 ip in node.js 16 #313

Open
@13858032646

Description

const amqp = require('amqp-connection-manager');
const params = {
url :'amqp://root:Zn0Uc9Tz6A@[2007:777:666:0:a00:27ff:fed0:3f5c]:6005',
ex :'bic.core.topic.netdomain_change',
exType :'fanout',
durable : true,
routeKey : 'bic.core.topic.netdomain_change',
autoDelete : true,
queue : 'test2.10.20.84.68'
}
I must add [] for url parameter at AmqpConnectionManager 260 line new URL(connect),but in node.js 16,add [] is a wrong network to amqp.connect(connect, connectionOptions), how should I do now?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions