Skip to content

Commit 181daca

Browse files
treytMSFTrwestMSFT
authored andcommitted
Update availability-replica-is-disconnected.md
Fixing typo "naode" to "node". Changing Test-Netconnection to more clearly show it should be used to connect to the remote sql node instead of local. Apply suggestions from code review Apply suggestions from code review
1 parent 97324bc commit 181daca

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/database-engine/availability-groups/windows/availability-replica-is-disconnected.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ The following are possible solutions for this issue:
101101
Use the following commands to test connectivity in both directions from Node1 to Node2 and Node2 to Node1:
102102

103103
```PowerShell
104-
$computer = $env:computername
104+
$computer = "remote_node" # Replace with node name in your environment.
105105
$port = "5022" # replace with the port from your database_mirroring_endpoints.
106106
Test-NetConnection -ComputerName $computer -Port $port
107107
```
@@ -122,7 +122,7 @@ The following are possible solutions for this issue:
122122
1. Then you can test the connection to the remote node. For example:
123123
124124
```PowerShell
125-
$computer = "remote_node" # Replace with Node name as per your environment.
125+
$computer = "remote_node" # Replace with node name in your environment.
126126
$port = "5022" # Replace with the port from your database_mirroring_endpoints.
127127
Test-NetConnection -ComputerName $computer -Port 5022
128128
```

0 commit comments

Comments
 (0)