nonebot-plugin-learning-chat icon indicating copy to clipboard operation
nonebot-plugin-learning-chat copied to clipboard

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

Open IllusiveBull opened this issue 2 years ago • 7 comments

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

IllusiveBull avatar Jan 08 '23 19:01 IllusiveBull

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

CMHopeSunshine avatar Jan 09 '23 06:01 CMHopeSunshine

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

LibrationCrisis avatar Jan 10 '23 07:01 LibrationCrisis

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

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

CMHopeSunshine avatar Jan 11 '23 04:01 CMHopeSunshine

安个cpolar内网穿透

YaoKong avatar Jan 11 '23 06:01 YaoKong

说明并没有开放成功,我的建议是使用反向代理服务器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;
                }
        }
        

HL-Light avatar Apr 05 '24 15:04 HL-Light

说明并没有开放成功,我的建议是使用反向代理服务器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

CMHopeSunshine avatar Apr 07 '24 00:04 CMHopeSunshine

没有公网ip吗

Windsland52 avatar Sep 10 '24 14:09 Windsland52