Not able to connect to database using Golang
I'm attempting to connect to a PostgreSQL instance on Railway but I'm getting a timeout.
[error] failed to initialize database, got error failed to connect to `host=containers-us-west-63.railway.app user=postgres database=[REDACTED]`: dial error (timeout: dial tcp 188.8.131.52:5432: connect: connection timed out) panic: failed to connect database goroutine 1 [running]: main.main() /app/main.go:20 +0x3bf
Just realized the port is wrong
youll have that