Bind server to IPv6 and IPv4

master
Harald Wolff 2020-12-23 23:39:46 +01:00
parent cb157109f1
commit 6fc232abc2
1 changed files with 1 additions and 0 deletions

View File

@ -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);