【发布时间】:2010-12-09 08:45:00
【问题描述】:
我正在为 Facebook 尝试使用 Facebooker 及其 SSH 隧道来公开我的开发站点的开发环境的一些初始设置。我在使用 SSH 隧道时遇到了很多麻烦。我已确保端口 4007 已打开,并且我的 SSH 配置包含 GatewayPorts yes 和 GatewayPorts clientspecified。
我可以从我的浏览器连接到我的域上的隧道,但是当我从我的 facebook 应用程序尝试时,它只是超时。
如果我在浏览器中加载域时查看调试信息,我会看到:
debug1: client_input_channel_open: ctype forwarded-tcpip rchan 5 win 2097152 max 32768
debug1: client_request_forwarded_tcpip: listen port 4007, originator 99.88.246.92 port 56423
debug1: connect_next: host localhost ([127.0.0.1]:3000) in progress, fd=6
debug1: channel 1: new [99.88.246.92]
debug1: confirm forwarded-tcpip
debug1: channel 1: connected to localhost port 3000
debug1: channel 2: free: 99.88.246.92, nchannels 4
debug1: channel 3: free: 99.88.246.92, nchannels 3
debug1: channel 1: free: 99.88.246.92, nchannels 2
当我从 facebook 连接时,我会得到:
debug1: client_input_channel_open: ctype forwarded-tcpip rchan 2 win 2097152 max 32768
debug1: client_request_forwarded_tcpip: listen port 4007, originator 69.63.189.246 port 44679
debug1: connect_next: host localhost ([127.0.0.1]:3000) in progress, fd=6
debug1: channel 1: new [69.63.189.246]
debug1: confirm forwarded-tcpip
debug1: channel 1: connected to localhost port 3000
我对这种开发方法(SSH 隧道)相当陌生,有没有人可以提供任何建议?
【问题讨论】:
标签: ruby-on-rails facebook ssh facebooker