Cloudflare代理后无法连接节点
MCSManager Version
9.9.0
System Info/Version
Windows Server 2022 Datacenter 10.0.20348
Node Version
v18.12.1
Step
1.IP通过Cloudflare绑定域名,并开启代理
2.在Cloudflare的规则->Origin Rules中,添加访问域名自动重定向到23333端口
3.访问域名,能正确访问到MCSManager web面板
4.在应用实例中选择任意一个节点(无论是公网ip直连、域名、localhost)的任意一个实例,均出现连接到远程节点错误。
1.原使用Ubuntu服务器,仍有相同问题
2.浏览器直连错误界面显示的ip:port(去掉wss://)可以正常显示如下界面。
3.一旦换为ip:23333或domin:port的访问形式后,不出现上述问题。
不知道是因为Cloudflare代理的原因还是Cloudflare端口转发的原因。但我希望MCSManager可以解决这个问题。
Try to fill in your domain name here.
Note that the web use port 23333 but application use port 24444, so don't use port 23333 here.
~~为啥要用cloudflare减速器代理前端啊~~
你这个情况可能是因为你的节点地址的配置有问题,你是打算让节点流量直连 还是走cloudflare
只要不使用HTTPS协议就行,如果访问web面板使用的是HTTPS(尤其是CF的免费证书),则连接实例时会使用wss;如果访问web面板使用的是HTTP,则连接实例时会使用ws。建议你使用HTTP。如果开启了CF的SSL加密,关掉。
居然有人回答一个很无厘头的问题😂
我建议直接选择不用cloudflare
~为啥要用cloudflare减速器代理前端啊~
你这个情况可能是因为你的节点地址的配置有问题,你是打算让节点流量直连 还是走cloudflare
为了使用它的端口转发功能,只是不想通过ip:port方式访问。
只要不使用HTTPS协议就行,如果访问web面板使用的是HTTPS(尤其是CF的免费证书),则连接实例时会使用wss;如果访问web面板使用的是HTTP,则连接实例时会使用ws。建议你使用HTTP。如果开启了CF的SSL加密,关掉。
谢谢回复!
您吉祥
为了使用它的端口转发功能,只是不想通过ip:port方式访问。
Try to fill in your domain name here. Note that the web use port 23333 but application use port 24444, so don't use port 23333 here.
Thank you for your prompt reply. I’m sorry for replying late due to some reasons, but the method you suggested did not work for me. It prompted me “Browser cannot connect to wss://my.domain.here:24444”. But when I use the browser to visit my.domain.here:24444, it correctly returns "[MCSManager Daemon] Status: OK | reference: https://mcsmanager.com/". I tried the method provided by WitheredWinter and it worked. Thank you again for your help!

Try to fill in your domain name here. Note that the web use port 23333 but application use port 24444, so don't use port 23333 here.