| От | Donald Fraser |
|---|---|
| Тема | Re: Java proxies connection to postgres |
| Дата | |
| Msg-id | 7BF0F1662EE14F6FA6F3C8EFE951A69F@DEVELOP1 обсуждение исходный текст |
| Ответ на | Java proxies connection to postgres (- <grandebuzon@gmail.com>) |
| Ответы |
Re: Java proxies connection to postgres
|
| Список | pgsql-jdbc |
Please look at the attached source taken from a patched version of the 7.4 driver, which is a little out of date with respect to the latest drivers. However it gives you the idea of what you need to do in order to modify one of the latest drivers. The main problem with all HTTP style proxies is that you can only specify ports 80, 443 and sometimes 8080 and or 8000. I've spent a lot of time with proxies and to get a reliable connection you need to use SSL on port 443. This means you must redirect incomming requests, on the firewall that serves requests to your PostgreSQL server, from port 443 to port 5432. Which also means that you cannot have a secure web-server on the same IP address as your PostgreSQL server! Regards Donald Fraser
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера