# PostgreSQL İstemci Yapılandırması

Sunucu-istemci mimarisinde kullanıcıların PostgreSQL sunucusuna bağlanması için izne ihtiyaç duyarlar. Firewall hizmetinizde sunucunuza 5432 portunun yayına açık olduğundan emin olunuz.&#x20;

PostgreSQL kendi güvenlik önlemlerinden pg\_hba.conf dosyası ile bağlanacak ip adreslerin aralığını belirtmeniz gerekmektedir.&#x20;

* PostgreSQL'in kurulu olduğu dizine gidiniz.
* PostgreSQL\15\data klasörünü açın.
* pg\_hba.conf dosyasını herhangi bir editör ile açın.
* `IPv4 local connections:` bölümüne geliniz.
* IP adresi aralığınızı yazınız.
* Hizmetler bölümünden PostgreSQL (online kurulum yapıldıysa hizmet adı HakedisPlus'dır) hizmetini yeniden başlatınız.

{% hint style="info" %}
Eğer tüm iç istemcilere izin vermek isterseniz aşağıdaki yapılandırmayı yapabilirsiniz:\
\
`IPv4 local connections:`

`host all all 0.0.0.0/0 scram-sha-256`<br>
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.oska.com.tr/kurulum/yapilandirmalar/postgresql-istemci-yapilandirmasi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
