Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jdbc:postgresql://127.0.0.1:45432/mydb
- username: erjik
- password: xx
- local all all trust
- // IPv4
- host all all 127.0.0.1/32 trust
- // IPv6
- host all all ::1/128 trust
- listen_addresses = '*'
- port = 5432
- psql -h localhost -U erjik mydb
- # TYPE DATABASE USER ADDRESS METHOD
- host all all all md5
- your-pgvm$ nc -v -l 12345
- Connection from 10.0.2.2 port 12345 accepted
- your-comp$ nc localhost 12345
Add Comment
Please, Sign In to add comment