-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
This nice tool should also support IPv6 addresses. In 2022 it is getting more and more relevant.
None of these are currently working:
uriObj = mongoURI.parse("mongodb://user:password@[::1]:27017/mip?authSource=admin");
uriObj = mongoURI.parse("mongodb://user:password@[fe80::81e6:5666:f147:7ef8]:27017/mip?authSource=admin");
uriObj = mongoURI.parse("mongodb://[fe80::81e6:5666:f147:7ef8]:27017/mip?authSource=admin");
uriObj = mongoURI.parse("mongodb://[::1]:27017");
See my proposal at https://github.com/Wernfried/mongodb-uri-node/blob/patch-1/mongodb-uri.js
Best Regards
Wernfried
Metadata
Metadata
Assignees
Labels
No labels