“错误:该IP地址不能分配给”当运行应用程序 [英] "Error: That IP address can't be assigned-to" when running app

查看:1378
本文介绍了“错误:该IP地址不能分配给”当运行应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我尝试使用LAN ip启动Django服务器应用程序时,我收到错误:

Whenever I'm trying to launch a Django server app with a LAN ip I receive the error:

Django version 1.4.1, using settings 'servidorMain.settings'
Development server is running at http://192.168.1.XX:8080/
Quit the server with CONTROL-C.
Error: That IP address can't be assigned-to.

在本地主机中,它工作得很好。我也在检查网络配置,我认为一切正确,所以我看不到问题在哪里。

In localhost it works perfectly. I also was checking the network configuration and I think all is correct so I dont see where is the problem.

提前感谢。

推荐答案

使用:

python manage.py runserver 0:8000

这篇关于“错误:该IP地址不能分配给”当运行应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆