Hi @sakuraime ,
is it a must to specify the URL of the LISTENER_URL ?
You can also use the way of FQDN.
Can I specify another IP addresses which is not as the listener ip( or interface).
Yes, you can.
Port 5022: If you want to use annother port, you should ensure that the corresponding LISTENER_URL is the port you specify, otherwise the Availability Group cannot communicate through this port.
Port 1433: https://learn.microsoft.com/en-us/sql/database-engine/availability-groups/windows/availability-group-listener-overview?view=sql-server-ver15#SelectListenerPort
Note: LISTENER_URL: Notice that this parameter was used instead of ENDPOINT_URL. This parameter specifies the listener for each Availability Group along with the endpoint of the Availability Group – 5022 - not the endpoint of the listener - 1433.
If I use the listener IP address as the endpoint address, the replication traffic will go through the same network interface as the listener ip .
Normally, there will be no conflicts. Alwayson is based on clusters and Replication is not.
Please see this article for examples.
Best regards,
Seeya
If the response is helpful, please click "Accept Answer" and upvote it, as this could help other community members looking for similar queries.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.