Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I am sorry this happens.

> local_db = PostgresqlDatabase(database=database, user=user, password=password, host='localhost', port=port)

I am guessing this part. Even though the host is hardcoded as "localhost" , when you do a ssh port-forwarding, the localhost might actually be the real production. e.g sudo ssh user@myserverip -L 3333:localhost:3306



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: