ping
requests. Instead, you can use the methods presented in this guide to test the connectivity to your StreamNative Cloud cluster and its endpoints before whitelisting them.
Run through the following steps to validate StreamNative Cloud connectivity is working as expected.
openssl
, Netcat
, or Telnet
.
For clusters with public endpoints, you can run connectivity tests from any computer with internet access.
For clusters in private network environments (such as PrivateLink, Private Service Connect, VPC peering, VNet peering, and AWS Transit Gateway), run tests from within your VPC or VNet that is connected to the StreamNative Cloud cluster.
443
to test the connection to the Pulsar HTTP service, Websocket service, REST messaging service, and the Kafka schema registry service.6651
to test the connection to the Pulsar Broker service.9093
to test the connection to the Kafka Broker service.8883
to test the connection to the MQTT service.Telnet
or Netcat
:
openssl
. With openssl
, you can an SNI header:
-connect
option.
openssl
to test TCP and TLS because with the TCP testing only, it is difficult to make the distinction among the various cases when a connection fails, such as:
pulsar-client
, kcat
, kafkacat
, kafka-console-consumer
, kafka-console-producer
, native command line tools, or Java and other clients. The following are a few of the test workflows you can use as references: