Telnet - getting closed automatically when trying to connect to a peer in hyperledger fabric network

Viewed 8773

I have setup an hyperledger fabric network with 6 organizations and 5 orderers (raft consensus). Each org has 2 peers. All the peers are running in 7051 ports and orderers in 7050 port. When I try to do telnet to the peers,

telnet <ip> 7051
Trying <ip>...
Connected to <ip>.
Escape character is '^]'.
Connection closed by foreign host.

But the telnet connection is automatically getting closed after 3-4 seconds.

1 Answers

Few Suggestions:

  1. check the ports are opened or not in the firewall.
  2. If the ports are opened and source is set to specific IP then try changing it to 0.0.0.0. 0.0.0.0 is for testing only.
  3. Also try nc -vz IP port command. Is is same as telnet.
  4. Make sure containers are running fine on server.
Related