[英]How yo fix port issue in ruby on rails. Port is not working on 3000 and im unable to select different port
[英]How to fix "fatal :unable to look up https (port 9418) (No such host is known)
我正在尝试使用 git 推送:
git push -u origin --all
这是我的问题:
Fatal: unable to look up https (port 9418) (No such host is known. )
我跑了ping github.com
并获得了 IP,但我不知道如何处理它们。
你有一个错误的远程 URL - git://
是 Git 协议的名称(端口 9418),它不需要跟随不同的协议名称。
尝试这个:
git remote set-url origin https://anhbui2904@bitbucket.org/anhbui2904/sample_app.git
这会将您的origin
远程 URL 设置为使用 HTTPS。
如果git remote set-url origin
不起作用,您可以直接编辑
.git/配置
文件,并将git://https://
前缀修复为所需的 git:// 或https://
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.