Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
13858032646 opened this issue Jan 18, 2023 · 0 comments
Open

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

13858032646 opened this issue Jan 18, 2023 · 0 comments

Comments

@13858032646
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant