質問

だから私はすべてのセットをすべて設定して行く準備ができていて、このコマンドを介してUWSGIを使用して起動しようとしました

# uwsgi --http :5000 --module myProject.wsgi
.

このエラーログ

を返します。
** Starting uWSGI 2.0.3 (32bit) on [Sun Apr 13 14:23:55 2014] ***
compiled with version: 4.6.3 on 13 April 2014 14:06:52
os: Linux-2.6.32-042stab078.26 #1 SMP Wed Jun 19 11:05:34 MSK 2013
nodename: vps
machine: i686
clock source: unix
detected number of CPU cores: 1
current working directory: /root/HomeworkTasker
detected binary path: /usr/local/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
*** WARNING: you are running uWSGI without its master process manager ***
your processes number limit is 191584
your memory page size is 4096 bytes
detected max file descriptor number: 1024
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
bind(): Cannot assign requested address [core/socket.c line 759]
.

グーグルの後、このアドレスがすでに使用されていると言われているようです、私はこれが複数の理由でそうではないと判断しました。これらの理由のうちの最初の理由は、私がPythonシェルに入ると、Pythonを使って手動で0.0.0.0:5000にバインドできます。もう1つの理由は、IntStatにアクセスした場合、ポート5000がリストされていません。私がここでできることや私はゾル?

役に立ちましたか?

解決

解決策:

を実行してインターフェイスが正しいことを確認してください。
ifconfig lo up
.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top