Regarding this connect issue, it is suggested to troubleshoot follow by this doc: A network-related or instance-specific error occurred while establishing a connection to SQL Server.
Best regards,
Cosmog
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".