中止:错误:未提供节点名或服务名,或未知错误
有人可以帮忙吗? 我在连接时收到此错误..
abort: error: nodename nor servname provided, or not known
请帮助我。
实际上我想从存储库中获取 coreplot 的源代码我正在终端中执行此命令
"hg clone core-plot.googlecode.com/hg core-plot "
,但出现错误...
"abort: error: nodename nor servname provided or not known,"
any1 可以帮助我吗?
can anyone help ??
i am getting this error while connecting..
abort: error: nodename nor servname provided, or not known
please help me out.
Actually I want to get the source of coreplot from a repository I am executing this command in the terminal
"hg clone core-plot.googlecode.com/hg core-plot "
and i get the error ...
"abort: error: nodename nor servname provided or not known,"
Can any1 help me?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
检查您的代理设置。 我在公司外 LAN 时将 http_proxy/https_proxy 环境变量设置为公司设置时遇到了问题,并且看到了类似的响应。
Check your proxy settings. I've had issues with having my http_proxy/https_proxy environment variables set to a corporate setting while off-corp-LAN and have seen similar responses.
这通常是间歇性的并且与 DNS 有关。 检查您的网络连接和/或代理设置。
This is often intermittent and DNS related. Check your network connectivity and/or proxy settings.
此消息表明存在一般网络问题。 看看是否可以 ping 通有问题的主机名。 如果您无法访问它,您可能需要手动更新您的“hosts”文件或执行其他相关的 DNS 巫术,直到 ping 返回。
This message indicates a general networking issue. See if you can ping the hostname in question. If you can't reach it you may need to manually update your "hosts" file or perform other related DNS voodoo until the ping returns.
我在mac上是这样解决的:
This is how I solved it on mac:
尝试
hg clone https://core-plot.googlecode.com/hg/ core-plot
请注意,
https://
是必需的。Try
hg clone https://core-plot.googlecode.com/hg/ core-plot
Note that the
https://
is required.虽然它不是 100% 相关(因为我认为最初的问题是缺少“https://”),但我想将我的问题发布到 SO google-juice。
从 bitbucket.org 克隆时,我遇到了相同的错误消息; 我错过了在网址中添加@:
While it's not 100% related (as I think the original issue was a missing "https://") I wanted to post my problem for SO google-juice.
I was having the same error message when cloning from bitbucket.org; I had missed adding @ to the url:
此消息表明存在一般网络问题。 查看您的网络是否已通过正确连接或任何其他连接进行连接。
示例:在我的办公室,如果我仅与 LAN 连接,那么 Mercurial 就会工作(例如克隆、更新或拉取)。 但我尝试通过访客连接(Wifi)。 一旦我改变了它,它就可以工作了。
This message indicates a general networking issue. See your network with connected with correct connection or any other connection.
Example: In my office if i connect with Lan only then the mercurial will work(Like clone or update or pull). But i tried via guest connection(Wifi). Once i change this now its working.