Jump to content

Postgres Server config

I am trying to configure a postgres server on mu NAS to use for some projects i wanna do with some guys from school.
BUT. I cant seem to connect to it.

I changed this line in the postgresql.conf file:  listen_addresses = "*"
Also in pg_hba.conf:  host all all 0.0.0.0/0  trust

The thing is, it should accept all local addresses, but connecting via its 192.168 address doesnt work eiter.
My final goal is to connect via my real ip: 94.224.xxx.xxx

 

I also tried portforwarding 5432 but that didnt help either.

I am here to learn, please correct me if im wrong or you see me putting bs on your screen!

Link to comment
Share on other sites

Link to post
Share on other sites

Okay im sorry for this post.

after 5 restarts it worked. 

what a spammer i am.

 

Also not sure on how to delete topics

I am here to learn, please correct me if im wrong or you see me putting bs on your screen!

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×