Railway PSQL with VPN on
I generally keep a VPN on, and it seems that it never works for connecting to my Postgres database.
Neither
railway connect postgres
nor the psql command PGPASSWORD=xxyy psql -h viaduct.proxy.rlwy.net -U postgres -p 1111 -d railway
get anything back with VPN on. With VPN off it works fine. Not sure if this is an engineering decision.
However, it would make my life a lot easier if I didn't need to switch networks just to see my db. Is there a way to do it?Solution:Jump to solution
other users have no issue connecting to their database with proton VPN, so its likely that either hotspot or google is blocking you, this would be out of railways control
8 Replies
Project ID:
N/A
please provide the error
it just never replies with anything in the CLI
been this way for a long time - it often will freeze the zsh terminal window
aaea4adf-e4a4-46bc-b9d1-ab90f67e7742
may i ask what vpn
HotSpotShield
Solution
other users have no issue connecting to their database with proton VPN, so its likely that either hotspot or google is blocking you, this would be out of railways control
Hm so it used to just spaz out infinitely, today it's actually closing the connection
![No description](https://cdn.answeroverflow.com/1266453176849141761/Screenshot_2024-07-26_at_1.47.59_PM.png)
Trying to think what would be the cause if it's public internet. Like I can curl my own server with VPN on. But never this psql connection.