开发者

https(apache + ssl) is only available from locahost, how to configure to visit it by domain name?

apache + ssl is configured using xampp on windows server 2003. http content has no problem by domain name, but https content can only be visited from localhost. "netstat -a" shows

Proto Local Address Re开发者_运维百科mote Address State ... TCP hostname:https hostname:0 Listening ...

How to config to enable https via domain name?


Found the reason. Another program take the 443 port so apache https failed. use "netstat -a -o -n" can get the detail.


I'm assuming you can already access apache using this domain name. Take a look in your ports.conf, usually found at /etc/apache2/ports.conf

It should contain a line like:

NameVirtualHost *:443

and also

Listen 8443 https
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜