connection issue

manurajurajuHOBBY

10 months ago

C:\Users\manur\greenleafmap\vigreenleaf\Lib\site-packages\django\core\management\commands[makemigrations.py:160](makemigrations.py:160): RuntimeWarning: Got an error checking a consistent migration history performed for database connection 'default': connection to server at "monorail.proxy.rlwy.net" (35.212.45.179), port 5432 failed: Connection timed out (0x0000274C/10060)
Is the server running on that host and accepting TCP/IP connections?

my original portnumber is 14077

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

7 Replies

10 months ago

You need to use the the external port given, not the internal 5432 port.


manurajurajuHOBBY

10 months ago

C:\Users\manur>psql -h localhost -U postgres -d railway -p 5432 -W

Password:

psql: error: connection to server at "localhost" (::1), port 5432 failed: FATAL: password authentication failed for user "postgres"

C:\Users\manur>


10 months ago

If you open your data tab on the Postgres service, you will see a Connect button, you can click that and get the command to connect to the database from local.


manurajurajuHOBBY

10 months ago

psql: error: connection to server at "localhost" (::1), port 5432 failed: FATAL: password authentication failed for user "postgres"

C:\Users\manur>psql -h localhost -U postgres -d railway -p 14077 -W

Password:

psql: error: connection to server at "localhost" (::1), port 14077 failed: Connection refused (0x0000274D/10061)

Is the server running on that host and accepting TCP/IP connections?

connection to server at "localhost" (127.0.0.1), port 14077 failed: Connection refused (0x0000274D/10061)

Is the server running on that host and accepting TCP/IP connections?

C:\Users\manur>


10 months ago

Please see my above message.


manurajurajuHOBBY

10 months ago

Connect can you please share the sreen shot


10 months ago

See attached.

Attachments