我正在使用Ubuntu 12.04LTS 64位pc.JBOSS作为本地pc服务器,并且我有一个使用mysql作为数据库和struts框架的项目。我可以轻松地使用
http://localhost:8080
但是当我想使用
https://localhost:8080
显示错误。
连接中断页面加载期间,与
的连接127.0.0.1:8080
中断。
我也检查过
$ sudo netstat -plntu | grep 8080
该命令的输出是
"tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 5444/java"
如果我终止了此过程,我的项目也将终止。我还提到了我的80端口也是免费的。
您能告诉我发生了什么问题,但我无法使用本地计算机访问我的项目https
。
前进感谢您的帮助。
SSL必须位于其他端口上。这是细分:
http:// watched on port, typically 80
https:// watched on a different port, typically 443
您需要在其他端口上运行SSL。
Listen 8081
SSL虚拟主机
<VirtualHost *:8081>
# SSL Cert info here
....
</VirtualHost>
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句