Heroku Django 部署错误:“port”选项应该 >= 0 且 < 65536:null

Dhr*_*ani 2 django heroku

我创建了一个 Django 应用程序并创建了Procfilerequirements.txt. 但是当我运行命令时

\n\n

heroku create

\n\n

我收到以下错误:

\n\n
 \xe2\x96\xb8    "port" option should be >= 0 and < 65536: null\n
Run Code Online (Sandbox Code Playgroud)\n\n

如何修复它?

\n

Dhr*_*ani 5

由于代理(愚蠢的大学),这是一个问题。该问题是由于不包括http://https://环境变量造成的。要解决此问题,请使用:

export http_proxy='http://proxyIP:port' export https_proxy='https://proxyIP:port'