AllKai commented on issue #7647:
URL: 
https://github.com/apache/incubator-seata/issues/7647#issuecomment-3317224601

   > Please provide your configuration files and the exception stack trace
   
   
我直接改的application.yml,目前用的2.3版本,然后2.5按要求把server.port改成8091启动失败端口被占用,然后现在还是7091就没问题
   
   `server:
     port: 8091
   
   spring:
     application:
       name: seata-server
   
   logging:
     config: classpath:logback-spring.xml
     file:
       path: ${log.home:${user.home}/logs/seata}
     extend:
       logstash-appender:
         destination: 127.0.0.1:4560
       kafka-appender:
         bootstrap-servers: 127.0.0.1:9092
         topic: logback_to_logstash
   
   console:
     user:
       username: seata
       password: seata
   seata:
     config:
       # support: nacos, consul, apollo, zk, etcd3
       type: nacos
       nacos:
         server-addr: xxxxx:8848
         namespace: xxxxxx-c0bd-49b8-82de-1d76cd05976c
         group: SEATA_GROUP
         #username: nacos
         #password: nacos
         data-id: seataServer.properties
     registry:
       # support: nacos, eureka, redis, zk, consul, etcd3, sofa
       type: nacos
       nacos:
         application: seata-server
         server-addr: 172.27.195.56:8848
         group: SEATA_GROUP
         namespace: 585c2008-c0bd-49b8-82de-1d76cd05976c
         cluster: default
         #username: nacos
         #password: nacos
     store:
       # support: file 、 db 、 redis
       mode: db
       session:
         mode: db
       lock:
         mode: db
       db:
         datasource: druid
         db-type: mysql
         driver-class-name: com.mysql.cj.jdbc.Driver
         url: 
jdbc:mysql://xxxxx:3306/seata?useUnicode=true&characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useSSL=false
         user: xxxxx
         password: xxxxx
         min-conn: 10
         max-conn: 100
         global-table: global_table
         branch-table: branch_table
         lock-table: lock_table
         distributed-lock-table: distributed_lock
         query-limit: 1000
         max-wait: 5000
   
   `


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to