When you running the GFSH command,
connect --locator, you receive a
Connection refused exception if the first locator is down.
Localhost[7800] is down and
localhost[7801] is running in the example below:
gfsh>connect --locator=localhost[7800],localhost[7801]
Connecting to Locator at [host=localhost, port=7800] ..
Connection refused (Connection refused)
gfsh>connect --locator=localhost[7801],localhost[7800]
Connecting to Locator at [host=localhost, port=7801] ..
Connecting to Manager at [host=192.168.3.2, port=1099] ..
Successfully connected to: [host=192.168.3.2, port=1099]
You are connected to a cluster of version: 9.10.5