Hi @ Bayu Aji Setyawan
I did not find the MS document for port requirement of DAG, but you can refer to MS document Configure a distributed Always On availability group, port 5022 is listed.
Searched this information online, please check.
For SQL Server:
- TCP 1433: This is the default port for SQL Server. If you've configured a different port for your SQL Server instance, make sure that port is open.
- TCP 5022: This port is used for database mirroring endpoints, which are crucial for communication between the primary and secondary replicas in the DAG.
For Windows Server Failover Clustering (WSFC):
- UDP 3343: Used for cluster service communication.
- TCP 135: Used for RPC (Remote Procedure Call) communication.
- TCP 445: Used for SMB (Server Message Block) communication.
- TCP 139: Used for NetBIOS session service.
- UDP 137 and 138: Used for NetBIOS name resolution and datagram service.
For Availability Group Listener:
- TCP 1433: This is the default port for the availability group listener. If you've configured a different port for the listener, make sure that port is open.
Additional Ports:
- TCP 2383: Used for SQL Server Analysis Services.
- TCP 2382: Used for SQL Server Browser service.
If the answer is helpful, please click "Accept Answer" and kindly upvote it.