Skip to content

在无图形界面的云服务器上创建模板项目,默认监听了localhost:5140,我该如何修改使我公网可以访问? #754

Answered by MaikoTan
pthmz asked this question in Q&A
Discussion options

You must be logged in to vote

Find the configuration file named koishi.yml, and append the line as the following:

host: 0.0.0.0 # or you can change this to match your server IP address

Also you can change the default port by port field.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pthmz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants