简体   繁体   English

配置localhost https glassfish

[英]configure localhost https glassfish

I am using Glassfish 3.1, I am trying to run a JSF application under https localhost. 我正在使用Glassfish 3.1,试图在https localhost下运行JSF应用程序。

Is it possible? 可能吗?

I tried to configure glassfish listeners, where I have a listener on port 80. I see glassfish has another listener but it is not running, why? 我尝试配置glassfish侦听器,在端口80上有一个侦听器。我看到glassfish有另一个侦听器,但是它没有运行,为什么? Can I run an application like this: https://localhost or configure another host on windows to test my application that only runs on https? 我可以运行这样的应用程序: https:// localhost或在Windows上配置其他主机以测试仅在https上运行的应用程序吗?

thanks a lot 非常感谢

sorry for my junk english... 对不起,我的英语不好...

I found a solution: I had to configure the listener 2 to listen to the port 443, so I could access my: https://localhost . 我找到了一个解决方案:我必须将侦听器2配置为侦听端口443,这样我才能访问我的https:// localhost 443 is the default port to HTTPS, as well as port 80 is the default to HTTP. 443是HTTPS的默认端口,端口80是HTTP的默认端口。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM