Multiple Instances and Availability Groups In my scenario, I have two servers in each of them two SQL Server instances:


Server 1: Instance 1 and Instance 2
Server 2: Instance 1 and Instance 2


I created availability groups between the instances like this: 


Instance 1 from Server 1 with Instance 1 from Server 2: Availability Group 1
Instance 2 from Server 1 with Instance 2 from Server 2: Availability Group 2


And I have create a two listeners:


Listener 1, for Availability Group 1
Listener 2, for Availability Group 2


The problem is when I try to connect with the Listener 1, it connects me to the Availability Group 1, but when I try with Listener 2 it also connects me to Availability Group 1, not to Availability Group 2.

I don't understand what I'm doing wrong.
This can happen due to the TCP ports configuration of your instances and listeners


  If one of the instances of SQL Server is already listening on TCP port
  1433 via the instance listener and there are no other services
  (including additional instances of SQL Server) on the computer
  listening on port 1433, this will not cause a port conflict with the
  availability group listener. This is because the availability group
  listener can share the same TCP port inside the same service process.
  However multiple instances of SQL Server (side-by-side) should not be
  configured to listen on the same port.


Source

In short, you can have both your listeners listening on port 1433, as long as you change the tcp ports for the instances to different ports like 1533, 1633.

You could also use different port numbers than 1433 but then you need to specify these in the connection string(s).

In the case of "one instance, one listener" you could be using the same port for both.