Explorar el Código

gateway 的 AdminServer 监听端口修改为 16000

reghao hace 8 meses
padre
commit
8ba5b0b1ea

+ 1 - 1
gateway/src/main/java/cn/reghao/tnb/gateway/admin/AdminServer.java

@@ -40,6 +40,6 @@ public class AdminServer {
                         .and(route(GET("/service"), serviceRouteHandler::getAllServices))
         );
         ReactorHttpHandlerAdapter httpHandlerAdapter = new ReactorHttpHandlerAdapter(httpHandler);
-        HttpServer.create().host("0.0.0.0").port(6080).handle(httpHandlerAdapter).bindNow();
+        HttpServer.create().host("0.0.0.0").port(16000).handle(httpHandlerAdapter).bindNow();
     }
 }