1

To allow any host to connect to PostgreSQL we can use the IPv4 wildcard subnet mask: 0.0.0.0/0

I need this to setup my PostgreSQL's pg_hba.conf file correctly.

What is the IPv6 equivalent?

3
  • 3
    Isn't it just ::/0? But surely this is off-topic here and better asked elsewhere? Commented Jul 10, 2014 at 20:07
  • 1
    How is it off-topic? I am trying to Administer my Database. Commented Jul 10, 2014 at 20:09
  • 3
    @NeilMcGuigan: I'm guessing that Colin probably thinks this is possibly off-topic because the IPv6 equivalent for 0.0.0.0/0 is going to be the same whether you're administering a database or writing a chat program, or something else. Commented Jul 10, 2014 at 20:55

1 Answer 1

1

The IPv6 wilcard subnet mask is ::/0

2
  • 1
    Neil - I edited this to use the more technical term since it will be easier for the average user to find.
    – Hannah Vernon
    Commented Jul 10, 2014 at 21:36
  • 1
    @MaxVernon good call, thx Commented Jul 10, 2014 at 21:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.