I just want to ask that can we access Microsoft SQL Server database on WAN like My SQL Database? If so, then kindly guide me how?
Thanks in Advance.
Microsoft SQL Server can run on a network, or it can function without a network.
Using SQL Server Management StudioIn Object Explorer, right-click a server and select Properties. Select the Connections node. Under Remote server connections, select or clear the Allow remote connections to this server check box.
By default, the typical ports used by SQL Server and associated database engine services are: TCP 1433, 4022, 135, 1434, UDP 1434.
Connect to a SQL Server instance Start SQL Server Management Studio. The first time you run SSMS, the Connect to Server window opens. If it doesn't open, you can open it manually by selecting Object Explorer > Connect > Database Engine. For Server type, select Database Engine (usually the default option).
Q: Can you access MSSQL across a WAN?
A: Short answer: Yes.
In theory, you can access MSSQL anywhere across the network, including across a WAN network.
All you need are:
a route between your client and the MSSQL server, and
the MSSQL port (typically TCP port 1433) to be open.
If you can "ping" from your client to the remote host, you've got 1) covered.
In order to "open the port", however, you must:
a. Configure the MSSQL Server to use TCP/IP (this is not necessarily enabled by default)
b. Open port 1433 on the MSSQL Server's host
c. Configure the router(s) between your client and the host to open port 1433, and route requests on that port to your MSSQL Server's host
d. Configure any firewalls (including your client PC) to allow port 1433
Here is a link for opening your Windows firewall:
Here is a link for configuring your router(s):
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With