0

I have created the virtual machine on Azure and installed a free version of the SQL Server database. I have created a new login in the SQL Server to access the database. I also added the inbound rule to enable TCP port on the Azure portal of the virtual machine.

enter image description here

Now I am trying to access the SQL Server instance from my local computer over IP but it's not connecting. Is there anything I am missing? I am getting this error:

enter image description here

2

1 Answer 1

3
  1. Use Configuration Manager to enable TCP/IP connections and listen on port 1433.
  2. Add a Windows Firewall rule allowing inbound traffic on port 1433.
  3. Configure the VM's Network Security Group to allow inbound traffic on port 1433.
Sign up to request clarification or add additional context in comments.

2 Comments

I did everything but I was missing the TCP port in the configuration manager of the SQL server. Thanks, it is fixed.
Yep. Developer and Express Edition don't have TCP/IP enabled by default, as they are often installed on developer desktops.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.