diff --git a/core/pva/src/test/java/org/epics/pva/combined/ServerClientTest.java b/core/pva/src/test/java/org/epics/pva/combined/ServerClientTest.java index 4feeb994d1..a5223a0286 100644 --- a/core/pva/src/test/java/org/epics/pva/combined/ServerClientTest.java +++ b/core/pva/src/test/java/org/epics/pva/combined/ServerClientTest.java @@ -79,7 +79,12 @@ public class ServerClientTest { private static PVAServer testServer() { if (!PVASettings.EPICS_PVA_ENABLE_IPV6) - PVASettings.EPICS_PVAS_INTF_ADDR_LIST = "0.0.0.0"; + { + // Details vary with network setup, + // but forcing use of IPv4 localhost is quite likely to "work" + PVASettings.EPICS_PVAS_INTF_ADDR_LIST = "127.0.0.1"; + PVASettings.EPICS_PVA_ADDR_LIST = "127.0.0.1"; + } try { return new PVAServer(); } catch (Exception e) {