Skip to content

Commit 89554ea

Browse files
authored
Update managed-instance-link-preparation.md
1 parent 1172a52 commit 89554ea

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

articles/azure-sql/managed-instance/managed-instance-link-preparation.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,14 @@ CREATE ENDPOINT TEST_ENDPOINT
265265
)
266266
```
267267

268+
To verify that SQL Server endpoint is receiving connections on the port 5022, execute the following PowerShell command on the host OS of your SQL Server:
269+
270+
```powershell
271+
tnc localhost -port 5022
272+
```
273+
274+
A successful test shows `TcpTestSucceeded : True`. We can then proceed creating an SQL Agent job on Managed Instance to attempt testing the SQL Server test endpoint on port 5022 from the managed instance.
275+
268276
Next, create a new SQL Agent job on managed instance called `NetHelper`, using the public IP address or DNS name that can be resolved from the SQL Managed Instance for `SQL_SERVER_ADDRESS`.
269277

270278
To create the SQL Agent Job, run the following Transact-SQL (T-SQL) script on managed instance:

0 commit comments

Comments
 (0)