Hello Community team,
We are using postgresql-9.4-1202.jdbc41.jar and our PostGre DB is in different data center. The requirement is to connect to that DB server via HTTP proxy is it possible? If so which data source class and what parameters to use?
Kindly advise.
Hi Satish
I tried looking through some options to implement this, but couldn't find an exact answer for this.
A possible workaround for your situation is to use TCP proxy and not HTTP.
You can configure the proxy at your datacenter to route all requests coming at the database port to forward to Postgres database.
Following article is a very good started with this.
In general, any proxy like HTTPd, Nginx or HAproxy can be used for this purpose.
Thanks,
Hassan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.