Open wsysl1989 opened 6 hours ago
1.搭建好了之后,局域网其他电脑访问,总是提示“连接断开,正在尝试重新连接”,但是可以正常对话,服务端的电脑登录就没这提示。 2.局域网发送文件,地址都是指向127.0.0.1:9000,服务端可以接受打开,局域网其他电脑就不行了,这里需要修改哪里呢。 3.mysql创建的数据库名是im_platform,需要注意_而不是-。 4.我的配置文件 server: port: 8888
spring: profiles: active: dev application: name: im-platform mvc: pathmatch: matching-strategy: ant_path_matcher servlet: multipart: max-file-size: 50MB max-request-size: 50MB datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://localhost:3306/im_platform?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true username: root password: root data: redis: host: localhost port: 6379 database: 1 jpa: hibernate: ddl-auto: update show-sql: true properties: hibernate.format_sql: true
mybatis-plus: global-config: db-config: id-type: AUTO configuration: map-underscore-to-camel-case: true log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
jwt: accessToken: expireIn: 1800 secret: MIIBIjANBgkq refreshToken: expireIn: 604800 secret: IKDiqVmn0VFU
minio: endpoint: http://192.168.3.129:9000 access-key: minioadmin secret-key: minioadmin bucketName: box-im imagePath: image filePath: file videoPath: video
还有Proxy error: Could not proxy request /user/terminal/online?userIds=2 from 192.168.3.129:8080 to http://127.0.0.1:8888.
1.搭建好了之后,局域网其他电脑访问,总是提示“连接断开,正在尝试重新连接”,但是可以正常对话,服务端的电脑登录就没这提示。 2.局域网发送文件,地址都是指向127.0.0.1:9000,服务端可以接受打开,局域网其他电脑就不行了,这里需要修改哪里呢。 3.mysql创建的数据库名是im_platform,需要注意_而不是-。 4.我的配置文件 server: port: 8888
spring: profiles: active: dev application: name: im-platform mvc: pathmatch: matching-strategy: ant_path_matcher servlet: multipart: max-file-size: 50MB max-request-size: 50MB datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://localhost:3306/im_platform?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true username: root password: root data: redis: host: localhost port: 6379 database: 1 jpa: hibernate: ddl-auto: update show-sql: true properties: hibernate.format_sql: true
mybatis-plus: global-config: db-config: id-type: AUTO configuration: map-underscore-to-camel-case: true log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
jwt: accessToken: expireIn: 1800 secret: MIIBIjANBgkq refreshToken: expireIn: 604800 secret: IKDiqVmn0VFU
minio: endpoint: http://192.168.3.129:9000 access-key: minioadmin secret-key: minioadmin bucketName: box-im imagePath: image filePath: file videoPath: video