Getting the below error when application trying to connect using AG Listener thru JDBC.
Here is the connection string "jdbc:sqlserver://AGListener:1433;databaseName=test;
com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host AGListener, port 1433 has failed. Error: "null. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall."
When application trying to connect using IP and port 1433 they can connect without issue.