summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sdnr/wt/apigateway/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/apigateway/test/helper/HelpServletBase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdnr/wt/apigateway/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/apigateway/test/helper/HelpServletBase.java b/sdnr/wt/apigateway/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/apigateway/test/helper/HelpServletBase.java
index 30732073b..7b7cba239 100644
--- a/sdnr/wt/apigateway/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/apigateway/test/helper/HelpServletBase.java
+++ b/sdnr/wt/apigateway/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/apigateway/test/helper/HelpServletBase.java
@@ -143,7 +143,7 @@ public class HelpServletBase {
@Before
public void initEsTestWebserver() throws IOException {
- this.server = HttpServer.create(new InetSocketAddress(this.port), 0);
+ this.server = HttpServer.create(new InetSocketAddress("127.0.0.1",this.port), 0);
this.httpThreadPool = Executors.newFixedThreadPool(5);
this.server.setExecutor(this.httpThreadPool);
this.server.createContext("/mwtn/test", new MyHandler());