ssh - 从远程机器访问芹菜花
问题描述
我在远程机器上使用 Celery 和 Flower,并通过 SSH 隧道(在 Mac OS 上,Core Tunnel)连接到本地。我的 Flower 应用程序已启动,我可以从远程机器上 CURL:
卷曲 http://localhost:5555。
隧道如下:
ssh -L 127.0.0.1:10002:flower_server:5555 -o ExitOnForwardFailure=yes -o ServerAliveInterval=15 -o ServerAliveCountMax=3 login@tunnel_server
因此,我希望如果我执行 http://localhost:10002,来自远程机器的 Flower 实例将显示在我的本地浏览器中。但相反,我返回 ERR_CONNECTION_RESET 异常。当我尝试从本地机器执行 CURL http://localhost:10002 时,它返回
接收失败:对等方重置连接
我不知道出了什么问题。也许有人有相同/相似的问题?
解决方案
推荐阅读
- python - WebDriver 位置循环
- kotlin - JUnit 测试中的 Kotlin 内联类
- scala - Scala Play + Slick:如何将依赖项注入 Spec 测试?
- google-analytics-api - GoogleAnalytics API 受众 > 技术 > 网络 > 服务提供商
- ios - 绘制 MTLBuffer 的一部分?
- android - Zxing QR码扫描仪代码在片段中不起作用
- c# - 在基类中创建枚举的别名
- java - 使用 IntelliJ 在类路径中找不到 application.yaml
- python - 将熊猫系列列表转换为熊猫数据框
- flutter - Flutter:浮动动作按钮固定位置