Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 192.168.178.21:5432
- 192.168.178.22:5432
- 192.168.178.23:5432
- psql -h 127.0.0.1 -p 5432 -U <user> -d <db>
- psql: could not connect to server: Connection refused
- Is the server running on host "127.0.0.1" and accepting
- TCP/IP connections on port 5432?
- firewall-cmd --zone=internal --add-masquerade --permanent
- firewall-cmd --zone=internal --add-forward-port=port=5432:proto=tcp:toport=5432:toaddr=192.168.178.22 --permanent
- firewall-cmd --reload
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement