Can't connect from server on pythonanywhere but can do same from local
nitinjaipur
TRIALOP

a year ago

My backend is on django. On local it working fine. But when I host my backend and try to do any database operations (CRUD) than it doesn't work.

I am getting this error
connection to server at "monorail.proxy.rlwy.net" (**.***.**.***), port *****failed: Connection refused Is the server running on that host and accepting TCP/IP connections?

Solved

1 Replies

a year ago

Hello,

Your database is indeed accessible, and we do not block any incoming traffic from pythonanywhere, this would be an issue on their side.

But instead, could I ask you why not try to run your Python app on Railway? we do far more than databases!

See some guides we have for python here -

https://docs.railway.com/guides/languages-frameworks#python

Best,
Brody


Status changed to Awaiting User Response Railway about 1 year ago


Railway
BOT

7 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 7 months ago


Loading...