diff --git a/src/common/ClientConnection.ts b/src/common/ClientConnection.ts
index e5ade9b..4288d2d 100644
--- a/src/common/ClientConnection.ts
+++ b/src/common/ClientConnection.ts
@@ -656,6 +656,30 @@ export default class ClientConnection {
);
}
+ public setWebsocketPort(port: number) {
+ this.ws?.send(
+ JSON.stringify(
+ new Protocol.SetApplicationConfigRequestEntity(
+ 0,
+ "websocket_port",
+ port.toString()
+ )
+ )
+ );
+ }
+
+ public setHttpPort(port: number) {
+ this.ws?.send(
+ JSON.stringify(
+ new Protocol.SetApplicationConfigRequestEntity(
+ 0,
+ "httpserver_port",
+ port.toString()
+ )
+ )
+ );
+ }
+
public setPowerOnPlan(uuid: string) {
this.ws?.send(
JSON.stringify(
diff --git a/src/components/SystenSettingAdvancedNetworkDialog.vue b/src/components/SystenSettingAdvancedNetworkDialog.vue
index d18add6..52788d8 100644
--- a/src/components/SystenSettingAdvancedNetworkDialog.vue
+++ b/src/components/SystenSettingAdvancedNetworkDialog.vue
@@ -31,7 +31,7 @@
@@ -130,6 +130,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -162,7 +210,7 @@