我正在网站上使用heroku http://devcenter.heroku.com/articles/java。
我的操作系统是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.
如有任何帮助,我们将不胜感激。预先感谢。
如果您位于防火墙后面,您是否尝试设置 http_proxy?
例如。设置 http_proxy=proxy.mycompany.com:8080