We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f35c37a commit 24f8569Copy full SHA for 24f8569
samples/chaincodes/java-chaincode/run-dev.sh
@@ -6,6 +6,7 @@ set -eu
6
CHAINCODE_NAME="chaincode1"
7
CHAINCODE_VERSION="0.0.1"
8
CHANNEL_NAME="my-channel1"
9
+PEER_IP="0.0.0.0"
10
PEER_NAME="peer0.org1.example.com"
11
JAR_PATH="build/libs/chaincode-all.jar"
12
@@ -41,7 +42,6 @@ if [ -z "$CHAINCODE_PORT" ]; then
41
42
exit 1
43
fi
44
-PEER_IP="0.0.0.0"
45
46
echo "Testing connectivity to peer at $PEER_IP:$CHAINCODE_PORT..."
47
if ! nc -z $PEER_IP $CHAINCODE_PORT 2>/dev/null; then
0 commit comments