【问题标题】:Error accessing localhost:port through bash on ubuntu on windows在 Windows 上通过 ubuntu 上的 bash 访问 localhost:port 时出错
【发布时间】:2016-09-29 02:19:04
【问题描述】:

我正在尝试通过 aptible 访问与数据库的连接,当我尝试这样做时,我收到一个似乎与 permission/access 相关的错误。

Creating tunnel...r 
/opt/aptible-toolbelt/embedded/lib/ruby/gems/2.2.0/gems/aptible-cli-0.7.3/lib/aptible/cli/helpers/tunnel.rb:53\
  :in `rescue in start': Tunnel did not come up, is something else listening on port 60387? (RuntimeError)
bind: Address already in use
(8ミ | INFO: Connecting to database...
(8ミ | ERROR: 403 (access_denied) 

我尝试编辑文件以使用不同的端口,但同样的错误仍然存​​在。

连接到 localhost:portnumber 时似乎出错了。

有人可以帮我吗?

这对我来说非常重要,因为我正在做一个重要的项目。

谢谢 南迪莎

【问题讨论】:

  • 显示你正在输入的命令?
  • 这是命令 - aptible db:tunnel sqldb-dev

标签: ruby bash windows-subsystem-for-linux


【解决方案1】:

看起来像这样的错误已在某一时刻得到修复:

https://github.com/aptible/aptible-cli/issues/47

尝试更新版本的 aptible?

【讨论】:

  • 我在几天前安装了最新的。所以我很确定我可以在这里尝试任何最新的东西。我还有其他解决方法吗?
猜你喜欢
  • 2017-12-31
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2018-01-24
  • 2020-07-24
  • 2018-06-06
  • 2014-11-02
相关资源
最近更新 更多