haoel.github.io icon indicating copy to clipboard operation
haoel.github.io copied to clipboard

使用脚本“Update install.ubuntu.18.04.sh”配置gost代理服务,测试显示connection refused

Open elderhaha opened this issue 1 year ago • 2 comments

抱歉因为如此基础性的问题提问

我是零基础人士,在使用大神提供的脚本试图配置gost代理服务,我在clouldflare购买了域名,设置了域名代理状态为“仅使用DNS”,并且创建了“边缘证书”、“客户端证书”和“源服务器证书”。之后依次执行脚本的步骤1-4,但使用 curl -v "https://www.google.com" --proxy " " --proxy-user ' '测试时显示connection refused. 具体为:

root@vultr:~# curl -v "https://www.google.com" --proxy "https://XXX.XXX" --proxy-user 'AAAAA:BBBBB'

  • Rebuilt URL to: https://www.google.com/
  • Trying 167.179.XXX.67...
  • TCP_NODELAY set
  • connect to 167.179.XXX.67 port 443 failed: Connection refused
  • Failed to connect to XXX.XXX port 443: Connection refused
  • Closing connection 0 curl: (7) Failed to connect to XXX.XXX port 443: Connection refused root@vultr:~#

我忙猜似乎是我的cloudflare配置或者VPS配置有问题(VPS用的是vultr的ubuntu.18.04版),但因为缺乏必要知识,不知道该怎么解决。 烦请走过路过的大神心情好的话能指点一下,十分感谢。

elderhaha avatar May 02 '23 04:05 elderhaha