java - sso cas server不用8443端口访问,改用443默认端口出现404
PHP中文网
PHP中文网 2017-04-18 09:22:11
0
1
859

cas不用8443端口访问,改用443默认端口出现404,下面是我tomcat conf的server.xml配置

<Connector port="443" protocol="org.apache.coyote.http11.Http11Protocol"
           maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
           clientAuth="false" sslProtocol="TLS"
           keystoreFile="C:/Users/Administrator/com.keystore" keystorePass="123456"
     truststoreFile="C:/Program Files/Java/jdk1.8.0_65/jre/lib/security/cacerts"/>
     

当我把port改成443的时候,他还是有提示我就访问不到cas server,而我用8443的时候就可以,然后我就尝试了一下别的端口,7443,发现7443也是可以的,请问是什么问题,是不是cas server哪里的配置url一定要带端口,不能是默认的

补充答案:后来我发现443端口被别的应用占用了,把他进程结束就可以了

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(1)
左手右手慢动作

Later I found that port 443 was occupied by another application, so I just ended the process

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template