I have a PgAdmin server running on localhost and I'm trying to connect to it from another computer on the same network (they have the same IPv4 address).
I've gone through a lot of questions but all of them explain how to connect to a remote server, which I assume is running on an available host.
I've tried:
- adding
listen_addresses = '*'
to postgresql.conf (on both computers) - adding
host all all 0.0.0.0/0 md5
to pg_hba.conf (on both computers, replacing0.0.0.0/0
with a variety of ip addresses) - some other things I saw in tutorials but don't remember
What I'm trying to understand is:
- Is it possible to connect remotely to a server running on localhost?
- If it is possible, which IP address does the remote computer need to connect?