Cannot connect to any database via IP address
Anonymous
HOBBYOP

10 months ago

I am trying to create a database to use on my Django project.

I have done this before and had no issues what so ever, but now looks like there is something blocking the connection to the databases.

I have created a postgresql and a mysql service and try to login using their UI tools (e.g. Workbench) and after a timeout I get that the services are not available.

I am trying to connect via IP I generated a domain with the action button on the settings but nothing seems to work, is there something else I need to do to enable access via IP?

Error from workbench

Cannot Connect to Database Server

Your connection attempt failed for user 'root' to the MySQL server at mysql-production-7188.up.railway.app:3306:

Unable to connect to mysql-production-7188.up.railway.app:3306

Please:

1 Check that MySQL is running on address mysql-production-7188.up.railway.app

2 Check that MySQL is reachable on port 3306 (note: 3306 is the default, but this can be changed)

3 Check the user root has rights to connect to mysql-production-7188.up.railway.app from your address (MySQL rights define what clients can connect to the server and from which machines) 

4 Make sure you are both providing a password if needed and using the correct password for mysql-production-7188.up.railway.app connecting from the host address you're connecting from

Solved

1 Replies

brody
EMPLOYEE

10 months ago

Hello,

You mistakenly added an HTTPS domain to the database, please connect using the *.proxy.rlwy.net based domain and its corresponding 5-digit port.

Best,
Brody


Status changed to Awaiting User Response Railway 10 months ago


Status changed to Solved brody 10 months ago


Loading...