Hi @pooo zz ,
It usually indicates that there is a problem with the communication between the SQL Server installer and the Windows RPC service.
Here are some steps you can take to resolve this issue:
Make sure that the Windows RPC service is running. You can check this by going to the Services app in Windows and looking for the "Remote Procedure Call (RPC)" service. If it is not running, start the service and try the installation again.

Check if there are any firewall or antivirus software blocking the communication between the SQL Server installer and the Windows RPC service. You may need to temporarily disable or configure your firewall or antivirus software to allow the installation to proceed.
Make sure that the server you are trying to install SQL Server on has the latest Windows updates installed. Some updates may be required for the RPC service to function properly.
In addition, please refer to MS document:
https://learn.microsoft.com/en-us/troubleshoot/windows-server/user-profiles-and-logon/not-log-on-error-rpc-server-unavailable?WT.mc_id=DP-MVP-5440
Best regards,
Seeya
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".