简体   繁体   中英

Azure web app connection to azure sql fails?

  1. I Created a Web App,
  2. Ive setup a Azure sql server with a private endpoint
  3. Created a Azure SQL database on the above sql server
  4. Created an endpoint for SQL server database and added firewall rule to allow azure services through, also added vnet where private endpoint is on to the firewall

However when i try to tcpping to the azure sql database from the console of the web app, i keep getting connection failed?

Any ideas?

ok it seems you need to append :1433 at the end of the tcpping otherwise it wont work! Go to your web app console and type the below in substitute the "adbsql01" with your sqlservername eg

  • tcpping adbsql01.database.windows.net:1433

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM