Tech Blog

Coding

Remote Access to Microsoft SQL Database Server

By Malkeet Singh2 min read
← Back to blog

Remote access to a SQL server is important because it allows users to access the server from anywhere, at any time. This enables remote workers to access the data they need when they need it, even if they are not physically in the same location as the server. It also allows IT admins to access the server from any location to provide support and troubleshoot any issues, without having to be physically present. Remote access also increases security, as admins can monitor the server from any location and can quickly react to any threats or suspicious activities.

1) Configure Microsoft SQL Server database for Remote access :

1. Launch Microsoft SQL Server Management Studio.
2. Connect to Database with the help of windows authentication.
3. Right click on Server > Navigate to Properties > Connections.
4. Click on Allow Remote connection to this server.

5. Click OK and save the changes.

2) Configure the SQL Server Configuration Manager :

1. Launch SQL Server Configuration Manager.
2. Navigate to SQL Server Network configuration.
3. Right click on TCP/IP > Enable.
4. Once TCP/IP is enabled, right click again on TCP/IP > Properties > IP Addresses > IPAll.
5. Provide SQL port 1433 under TCP Port > Click on Apply > Click on OK.
6. In the SQL Server Configuration Manager, select SQL Server Services  and restart all services.
Note : Restart is required to make the changes to come into effect.
7. If services are in a stopped-state, then follow the below-mentioned steps to start services.

Note : SQL port (1433) should be allowed in the firewall if the user is accessing from a different network.

3) Access SQL server Database :

1. Navigate to Microsoft SQL Server Management Studio and click on connect.(From where you want to access)
2.  Provide the SQL Server name (IP address of machine where SQL Server database is hosted)
3. Provide the Username of SQL server database.
4. Provide the Password of SQL server database and click on Connect.

5. Now you will be able to access the database.

Keep reading

You may be interested in

Browse all articles →
Active Directory Federation Service
July 5, 20235 min read

Active Directory Federation Service

Active Directory Federation Service (ADFS) uses claims-based identity model to maintain application security and to implement federated identity. ADFS is a concept of Windows Server operating system, that provides users with single sign-on access to the application, those are located across organizational boundaries. For Example: We have 2 organizations – Organization 1 and Organization 2. […]

By Abinash MishraRead More →
Types of Load Balancer in AWS
February 6, 20235 min read

Types of Load Balancer in AWS

What is Load Balancing ? Load balancing is a critical component of any scalable and highly available Cloud or On-premise architecture. It helps distribute incoming traffic across multiple servers, improving the availability and scalability of a website or application. In the cloud, load balancing is offered as a service by various cloud providers such as […]

By Keerthik ShenoyRead More →
SSH into a Docker Container
February 6, 20234 min read

SSH into a Docker Container

Hi there! Here we will see how to enable SSH into a Docker Container. Firstly let’s see what Docker and SSH are What is Docker? Docker is a containerisation tool that helps run an application in an isolated environment. Some Important terms that you will get while reading/listening to anything related to Docker Docker File: […]

By Mayur GoraniRead More →