2012-01-07 117 views
2

我正与网站http://devcenter.heroku.com/articles/java的heroku合作。无法连接到api.heroku.com

我的操作系统是windows7。

当我键入命令提示符下命令的Heroku我得到以下几点:

Microsoft Windows [Version 6.1.7601] 
Copyright (c) 2009 Microsoft Corporation. All rights reserved. 

C:\Users\HARIKA_RAM>heroku 
Usage: heroku COMMAND [--app APP] [command-specific-options] 

Primary help topics, type "heroku help TOPIC" for more details: 

这是工作的罚款。

当我尝试登录它给了以下消息:

C:\Users\HARIKA_RAM>heroku login 
Enter your Heroku credentials. 
Email: [email protected] 
Password: 
! Unable to connect to api.heroku.com 

C:\Users\HARIKA_RAM>heroku update 
-----> Updating to latest client... failed 
    ! getaddrinfo: This is usually a temporary error during hostname 
resolution and means that the local server did not receive a response from an 
authoritative server. 

任何帮助表示赞赏。提前致谢。

+0

我已经重新格式化了您的后 - 在每个控制台线前的四个空间极大地提高了可读性。如果您可以花时间在发布之前对问题进行一些格式化,它会提高您的响应/投票率':)'。 – halfer 2012-04-04 15:14:21

回答

0

如果您位于防火墙后面,您是否尝试设置您的http_proxy?

例如。设置http_proxy = proxy.mycompany.com:8080