]> granicus.if.org Git - postgresql/commit
Probe only 127.0.0.1 when looking for ports on Unix.
authorThomas Munro <tmunro@postgresql.org>
Mon, 6 May 2019 03:02:41 +0000 (15:02 +1200)
committerThomas Munro <tmunro@postgresql.org>
Wed, 8 May 2019 10:02:47 +0000 (22:02 +1200)
commit8efe710d9c84502b3e6a9487937bccf881f56d9c
tree8c53ae45f032ed0a4df4c312486f75118cde6bd5
parent098344be663f5fc0ad166e7a9e1cd37721ee34d9
Probe only 127.0.0.1 when looking for ports on Unix.

Commit c0985099, later adjusted by commit 4ab02e81, probed 0.0.0.0
in addition to 127.0.0.1, for the benefit of Windows build farm
animals.  It isn't really useful on Unix systems, and turned out to
be a bit inconvenient to users of some corporate firewall software.
Switch back to probing just 127.0.0.1 on non-Windows systems.

Back-patch to 9.6, like the earlier changes.

Discussion: https://postgr.es/m/CA%2BhUKG%2B21EPwfgs4m%2BtqyRtbVqkOUvP8QQ8sWk9%2Bh55Aub1H3A%40mail.gmail.com
src/test/perl/PostgresNode.pm