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

Linux服务器有办法远程访问webui吗 #11

Open
IllusiveBull opened this issue Jan 8, 2023 · 7 comments
Open

Linux服务器有办法远程访问webui吗 #11

IllusiveBull opened this issue Jan 8, 2023 · 7 comments

Comments

@IllusiveBull
Copy link

服务器小白,我尝试了开放nonebot对应端口和防火墙后在自己主机访问**...***:nb端口/learning_chat/login被拒绝了,在不装图形化的前提下有什么办法吗?在服务器命令行里curl localhost:nb端口/learning_chat/login能正常看到html代码

@CMHopeSunshine
Copy link
Owner

说明并没有开放成功,我的建议是使用反向代理服务器nginxapache

@LibrationCrisis
Copy link

可以尝试把服务器地址127.0.0.1改成0.0.0.0

@CMHopeSunshine
Copy link
Owner

不装UI可以用吗。因为是centos7.9 我曾经尝试装桌面环境但是一直有问题,所以有没有办法解决没有ui的问题

可以用,web ui也可以设为外部访问

@YaoKong
Copy link

YaoKong commented Jan 11, 2023

安个cpolar内网穿透

@HL-Light
Copy link

HL-Light commented Apr 5, 2024

说明并没有开放成功,我的建议是使用反向代理服务器nginxapache

你好,请问nginx反向代理配置是写成如下这样吗

  server{
                listen 80;
                server_name xxxx.xx.xxx;
                underscores_in_headers on;
                location / {
                  proxy_pass http://127.0.0.1:xxx/learning_chat/login;
                }
        }
        

@CMHopeSunshine
Copy link
Owner

说明并没有开放成功,我的建议是使用反向代理服务器nginxapache

你好,请问nginx反向代理配置是写成如下这样吗

  server{
                listen 80;
                server_name xxxx.xx.xxx;
                underscores_in_headers on;
                location / {
                  proxy_pass http://127.0.0.1:xxx/learning_chat/login;
                }
        }
        

不要/login

@Windsland52
Copy link

没有公网ip吗

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

6 participants