Solution
Use the display current-configuration command to verify the current configuration, and verify that the peer's AS number is correct.
Use the display bgp peer ipv4 unicast or display bgp peer ipv6 unicast command to verify that the peer's IP address/IPv6 address is correct.
If a loopback interface is used, verify that the loopback interface is specified with the peer connect-interface command.
If the peer is a non-direct EBGP peer, verify that the peer ebgp-max-hop command is configured.
Verify that a valid route to the peer is available.
Use the ping command to verify the connectivity to the peer.
Use the display tcp verbose or display ipv6 tcp verbose command to verify the TCP connection.
Verify that no ACL rule is applied to disable TCP port 179.