2

are connections to Database http based or tcp based.

Are jdbc of spring-boot application to postgressql http method connections based or tcp based connections.

1
  • Does this answer your question? HTTP is an application level protocol and usually uses TCP/IP as underlying transport protocol, so even databases like CouchDB that use HTTP also use TCP/IP. Commented Apr 18, 2020 at 17:38

3 Answers 3

1

Although JDBC connections to PostgreSQL utilize a URL (Uniform Resource Locator), they are not using the HTTP protocol. They don't use TCP port 80, either, if that's what you were asking; they use the default port of 5432 unless you have configured your Postgre server to use a different port. You can find the details here.

0

You would usually expect connections that aren’t used for transportation of hypertext to use something different than Hyper-Text Transport Protocol. The usual way to transport other data with some control over whether it has arrived would probably be a protocol built on top of Transport Control Protocol.

0

JDBC (Java Database Connectivity) connections in a Spring Boot application to a PostgreSQL database are TCP-based connections, not HTTP-based. JDBC uses the PostgreSQL protocol, which operates over TCP/IP, to communicate with the database server.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.