在腾讯云上配置部署程序后端问题
来源:6-12 阿里云部署微信小程序后端

慕勒5003861
2021-12-05
把jar包也跑了,日志输出正常,但在上面请求接口请求不到
- [root@VM-4-5-centos kafka_project]# curl -XGET http://localhost/v1/template
curl: (7) Failed connect to localhost:80; Connection refused - [root@VM-4-5-centos kafka_project]# curl -XGET http://localhost:443/v1/template
Bad Request
This combination of host and port requires TLS. - [root@VM-4-5-centos kafka_project]# curl -XGET https://localhost/v1/template
curl: (51) Unable to communicate securely with peer: requested domain name does not match the server’s certificate. - [root@VM-4-5-centos kafka_project]# curl -XGET https://localhost:443/v1/template
curl: (51) Unable to communicate securely with peer: requested domain name does not match the server’s certificate.
我试了好几种都请求不到数据,本地代码可以正常访问数据,是我服务器上项目陪孩子有问题吗
写回答
1回答
-
Allen
2021-12-05
防火墙设置放行策略了么
042021-12-07
相似问题