diff --git a/common/rpc/rpc.go b/common/rpc/rpc.go index 6686c7e0..7dd48b83 100644 --- a/common/rpc/rpc.go +++ b/common/rpc/rpc.go @@ -86,7 +86,7 @@ func StartClient(id, port uint16, callback any) *struct { } { var rpcaddr, _ = service.NewBaseSysParamService().DataByKey(context.Background(), "server_ip") - rpcaddr = "127.0.0.1" + closer1, err := jsonrpc.NewMergeClient(context.Background(), "ws://"+rpcaddr+":"+rpcport, "", []interface{}{ &RPCClient,