bind testport only to localhost
Issue-ID: SDNC-819
Signed-off-by: Michael Dürre <michael.duerre@highstreet-technologies.com>
Change-Id: I67bda6e44cb5eedc97bdfc22c398f29026b3b7b7
 
        @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());