Bind server to IPv6 and IPv4
parent
cb157109f1
commit
6fc232abc2
|
@ -69,6 +69,7 @@ namespace ln.ethercat.service
|
||||||
|
|
||||||
httpServer = new HTTPServer(httpLoggingRouter);
|
httpServer = new HTTPServer(httpLoggingRouter);
|
||||||
httpServer.AddEndpoint(new Endpoint(IPv6.ANY, 7676));
|
httpServer.AddEndpoint(new Endpoint(IPv6.ANY, 7676));
|
||||||
|
httpServer.AddEndpoint(new Endpoint(IPv6.V4Space, 7676));
|
||||||
|
|
||||||
controllerApiController = new ControllerApiController(ECMaster.Controller);
|
controllerApiController = new ControllerApiController(ECMaster.Controller);
|
||||||
httpRouter.AddSimpleRoute("/api/v1/*", controllerApiController);
|
httpRouter.AddSimpleRoute("/api/v1/*", controllerApiController);
|
||||||
|
|
Loading…
Reference in New Issue