Guest User

Untitled

a guest
Apr 4th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. con = psycopg2.connect(
  2. dbname="my_dbname",
  3. host="my_url",
  4. port= 5439,
  5. user="username",
  6. password="my_password")
  7.  
  8. cur = con.cursor()
  9.  
  10. OperationalError: could not connect to server: Connection timed out
  11. Is the server running on host "my_url" (54.217.83.88) and accepting
  12. TCP/IP connections on port 5439?
Add Comment
Please, Sign In to add comment