Forum Discussion
Can not connect to SQL from VM
Hi All,
I have Power BI desktop installed on virtual machine with Static IP. That IP is whitelisted at clients SQL server (sqlexpress). Auth is basic and I have user and password. No matter what I try I cant connect to the db and view they created. What am I missing? Do I need to whitelist any other IP. The idea is to have gateway on VM and have it refresh the report from their SQL server.
Thank you for any help, I am new to this!
You need to allow remote connections for your SQL in VM
you can follow steps from these articles to solve the problem
https://medium.com/@nishancw/how-to-enable-remote-connections-to-sql-server-dc5b6c812b5
7 Replies
- FarhanAhmedCommunity Champion
Try run Power BI Desktop as "Run As Administrator" and see if it still persists.
- MrMPHelper III
Thank you for the answer but that did not help. Any other suggestions? Do they have to whitelist any other IP?
- FarhanAhmedCommunity Champion
Can you please share the error & screenshot of it?