Hi,
How can we check jdbc connection inside the Kubernetes container. docker base image java JRE 1.8. Please help me if anyone knows. how to check the JDBC connection URL to Postgres db
Hi,
How can we check jdbc connection inside the Kubernetes container. docker base image java JRE 1.8. Please help me if anyone knows. how to check the JDBC connection URL to Postgres db
As a protocol, JDBC uses a TCP port. While the default in 1433, different databases use different ports. You should look at the docs for the driver you’re using. You can test for the port you find in the docs using a tool like netcat. Assuming that the jdbc driver you’re using uses 5432, you’d check it like this:
nc -v -w2 IP-ADDRESS-FOR-END-POINT. 5432