- Use TLS 1.2: Enable the TLS 1.2 protocol to secure data communication.
- Port settings: Make sure that TCP port 1433, which SQL Server uses by default, is open on the server and firewall. If you are using a named instance, verify that the SQL Server Browser service is running and that UDP port 1434 is open.
- Allow external IPs: Ensure that your server is open to connections from external IP addresses.
- Test the connection string: Test your connection over an external network.
- SQL Server Configuration Manager settings:
- In the SQL Server Network Configuration > Protocols for [instance name] section, enable the TCP/IP protocol.
- Restart the SQL Server service for the changes to take effect.
Viewing MSSQL Tables with an External Tool
To check the tables in the database you’re connecting to, you can use SQL Server Management Studio (SSMS) or Visual Studio Code with the MSSQL extension installed.
- Download and install the tool.
- Connect to the server: Complete the connection by entering the server name, database name, and your credentials.
- Select the database: Open the desired database from the Databases section on the left.
- View the tables: Expand the Tables folder and access the tables.
- Run an SQL query:
SELECT * FROM [TableName];
Press the F5 key or click the Execute/Run button to run the query.
By following these steps, you can connect the MSSQL data source to your Kuika applications.