web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Connection Power app w...
Power Apps
Suggested Answer

Connection Power app whit localhost SQL server

(0) ShareShare
ReportReport
Posted on by
Hello
 
I need connect power app whit SQL server but I recibet this error
 
"Error en la prueba de conexión. Detalles: Microsoft SQL: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - TCP Provider: ) inner exception: Microsoft SQL: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - TCP Provider: ) clientRequestId: b04cacb0-ef7f-8696-c5c2-545877851b9d"
 
I used SQL server 20 and door conection 
 
 
Categories:
I have the same question (0)
  • Suggested answer
    SwatiSTW Profile Picture
    741 Super User 2025 Season 2 on at
    1. Check if the SQL Server name is correct. Use ServerName\InstanceName or ServerName,PortNumber.
    2. Ensure SQL Server allows remote connections. Open SQL Server Management Studio, right-click the server name, go to Properties > Connections, and enable "Allow remote connections".
    3. Make sure the firewall allows SQL Server traffic. Open port 1433 in the firewall.
    4. Confirm the On-Premises Data Gateway is online and installed on a machine that can reach the SQL Server.
    5. If you are using Windows Authentication, ensure the Windows user has access to the SQL Server and database.
    6. Open SQL Server Configuration Manager and enable the TCP/IP protocol under SQL Server Network Configuration.
    7. Restart the SQL Server service after making these changes.
    8. Test the connection by running telnet SQLServerName 1433 on the same machine as the gateway.
    9. Double-check the server name, database name, username, and password in Power Apps.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard