-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Critical - P2
-
Affects Version/s: 1.0.0-beta1
-
Component/s: None
-
None
By default, mongod does not listen on IPv6; however, "localhost" may resolve to an IPv6 address on some machines, which could lead to a connection failure (as discussed in mongodb/mongo-php-driver#133). Changing "localhost" to "127.0.0.1" should avoid this.
Note: this is still a documentation issue, as users will need to be careful about using hostnames that resolve to IPv6 addresses unless net.ipv6 is enabled in the MongoDB configuration.
- is related to
-
PHPC-512 Disable async stream connections to avoid failed IPv6 connections
- Closed
- related to
-
PHPC-509 Default Manager URI to "mongodb://localhost:27017/"
- Closed
-
PHPLIB-220 Default Client URI to "mongodb://127.0.0.1/"
- Closed
- links to