I want to access a postgresql database remotely over Hamachi. Typically my database runs on port 5532. I see hamachi running on port 2620 (I think). Can I do this? Will it work on a mesh or do I need a hub & spoke setup? I am not sure how to resolve the different ports.
Using hamachi i try to access my postgresql database, If i configure Pg_hba file in postgres giving hamachi vpn after restart my computer postgres database is not opeing give me a solution how i have to configue pg_hba file
# TYPE DATABASE USER CIDR-ADDRESS METHOD
# IPv4 local connections: host all all 127.0.0.1/32 md5 host all all 2620:9b::1925:c1c/32 md5 # IPv6 local connections: host all all ::1/128 md5 host all all 2620:9b::1925:c1c/32 md5
Weather it is correct or i have to follow some other