http://dev.example.com:9000/正常运行,但https://dev.example.com:9000/无效

时间:2019-07-03 14:49:46

标签: apache ssl lets-encrypt

我们正在Ubuntu服务器上使用Apache运行Mobile App Node.js后端。示例URL将如下所示:

http://dev.example.com:9000/

请注意,我们正在使用端口9000来访问API。

我们已使用Let's Encrypt(https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-18-04)将SSL添加到此域,并且该URL适用于该URL:

https://dev.example.com

但是,当我们尝试访问端口号时,出现“无法访问此站点”错误。

https://dev.example.com:9000/

我尝试了很多解决方案,但没有一个起作用。当我尝试在ports.conf文件中添加“ Listen 9000”时,出现错误,例如无法绑定,因为该端口已在使用中。

在这里,我对如何解决问题以及从哪里开始感到困惑。任何帮助将不胜感激。

0 个答案:

没有答案
相关问题