Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有几个问题,不知道怎么回事? #7

Open
wsysl1989 opened this issue Nov 24, 2024 · 1 comment
Open

有几个问题,不知道怎么回事? #7

wsysl1989 opened this issue Nov 24, 2024 · 1 comment

Comments

@wsysl1989
Copy link

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

@wsysl1989
Copy link
Author

还有Proxy error: Could not proxy request /user/terminal/online?userIds=2 from 192.168.3.129:8080 to http://127.0.0.1:8888.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant