解决Sql server用管理器可以连接但Tomcat无法连接的端口问题。-图文
管理器可以连接……
tomcat 报错如下。
Cannot create PoolableConnectionFactory (The TCP/IP connection to the host 192.168.3.114, port 1433 has failed. Error: Connection refused: connect. Please verify the connection properties and check that a SQL Server instance is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port.)
打开sql server 配置管理中心
启用TCP/IP 并双击打开属性。
发现端口都空着,
加上1433
需要重启服务器
重启后,搞定!
上一篇: 上一篇文章

