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

Bug: 无法在局域网访问网页面板 #1375

Closed
Zhou-Shilin opened this issue Mar 5, 2024 · 3 comments
Closed

Bug: 无法在局域网访问网页面板 #1375

Zhou-Shilin opened this issue Mar 5, 2024 · 3 comments
Labels
bug BUG

Comments

@Zhou-Shilin
Copy link

Zhou-Shilin commented Mar 5, 2024

Describe the bug

本机使用127.0.0.1:5140可正常访问koishi网页面板,但是在局域网内使用192.168.0.135:5140无法访问。
局域网内可ping通5140,但是telnet显示connect refused
防火墙已放行端口

Steps to reproduce

  1. 使用“创建模版项目”的方法安装koishi到一台ubuntu server服务器上;
  2. 使用ufw allow 5140放行端口;
  3. 尝试在局域网内其他机器上访问,无法访问;
  4. 在ubuntu server上通过apt install ubuntu-desktop加装图形化界面,再安装xrdp,控端安装rdp client连接服务器,使用图形化界面中的浏览器访问,可以访问到。(总之通过本机访问确实可用,但是过程非常麻烦,在局域网内其他机器上访问还是很必要的需求)

Expected behavior

在局域网内其他机器上也应该能够访问koishi网页面板。

Screenshots

No response

Versions

  • OS: Ubuntu Server
  • Platform: /
  • Node version: v14.19.1
  • Koishi version: 4.17.1

Additional context

No response

@Zhou-Shilin Zhou-Shilin added the bug BUG label Mar 5, 2024
@BakaFT
Copy link

BakaFT commented Mar 5, 2024

🤔
提供的信息不足以证明你把服务的监听地址更改为了0.0.0.0/::

检查server插件的host配置项

@shigma
Copy link
Member

shigma commented Mar 6, 2024

@Zhou-Shilin
Copy link
Author

感谢回复,已解决

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

No branches or pull requests

3 participants