From 6fc232abc2d8790be2dd009135950f0cd08c7083 Mon Sep 17 00:00:00 2001 From: Harald Wolff Date: Wed, 23 Dec 2020 23:39:46 +0100 Subject: [PATCH] Bind server to IPv6 and IPv4 --- ln.ethercat.service/EthercatService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/ln.ethercat.service/EthercatService.cs b/ln.ethercat.service/EthercatService.cs index feca0ee..978d689 100644 --- a/ln.ethercat.service/EthercatService.cs +++ b/ln.ethercat.service/EthercatService.cs @@ -69,6 +69,7 @@ namespace ln.ethercat.service httpServer = new HTTPServer(httpLoggingRouter); httpServer.AddEndpoint(new Endpoint(IPv6.ANY, 7676)); + httpServer.AddEndpoint(new Endpoint(IPv6.V4Space, 7676)); controllerApiController = new ControllerApiController(ECMaster.Controller); httpRouter.AddSimpleRoute("/api/v1/*", controllerApiController);