Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 heroku 上有一个 django 项目,它在 heroku (ec2) 上使用 postgre 数据库。一切正常,但是在一台计算机上我无法访问 postger 端口 5432,所以我需要设置从我的计算机到那里的隧道。那可能吗?
您将需要对中间主机进行某种访问才能使其成为可能。Heroku 不支持开箱即用。
Corkscrew通过 HTTP 代理执行 SSH。然后你可以打开像tsocks这样的透明代理。这样您就不必了解防火墙。
这一切都适用于 Linux,也可能适用于 Mac。在 Windows 上,您可以通过 Putty 管道连接。