The CAS server returned no response

The CAS server returned no response.在部署CAS服务器时 很可能遇到 The CAS server returned no respons

The CAS server returned no response.
在部署CAS服务器时

很可能遇到 The CAS server returned no response.

但直接登录IP:端口/cas访问缺能访问到cas

这一定是配置文件中IP地址设置有问题

系统中涉及到地址的位置有:

CAS目录:
cas.properties 域名
uniqueIdGenerators.xml 域名
casDataSource.xml  数据库

应用目录
springdatasource.xml 数据库
springseruity.xml 域名

以及对应的plf的jar包中的这两个问题
springdatasource.xml 数据库
springseruity.xml 域名


当然,最后发现时因为系统无法访问外网导致的
由于在系统中配置的是个外网IP,以前从来没有遇到过
最后暂时先在hosts里面配了IP,可能实际需要研究如何Linux上网才算完全解决


hosts文件配置
202.111.111.111      sso.xxx.edu.cn