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

Announcements

News and Announcements icon
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
    809 Super User 2026 Season 1 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 431

#2
WarrenBelz Profile Picture

WarrenBelz 360 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 280 Super User 2026 Season 1

Last 30 days Overall leaderboard