改变pydev的端口 [英] change port in pydev

查看:225
本文介绍了改变pydev的端口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我正在尝试学习django框架,而我正在使用PyDev(Eclipse Python开发框架/插件)。当我尝试运行我的应用程序时,我收到一个错误:

 错误:[Errno 10013] 

我知道这是因为这个端口。我使用端口8000,我想将其更改为8080.有谁知道我该怎么办来改变端口?

  pydev调试器:启动
验证模型

找到错误
Django版本1.3.1,使用设置'muapp.settings'
开发服务器正在运行http://127.0.0.1:8000/
使用CTRL-BREAK退出服务器。
错误:[Errno 10013]

可能有用的是指出PyDev, Eclipse,当按运行按钮时,运行配置的命令。

解决方案

看看此视频教程。跳过大约14分钟,然后在参数中使用runserver 8080而不是runserver。


Hi everyone i'm trying to learn the django framework and I'm using PyDev (Eclipse Python Development Framework/Plugin). When I try to run my application I get an error:

Error: [Errno 10013]

I know that this is because of the port. I use the port 8000 and i want to change it to 8080. Does anyone knows what exactly should i do to change the port?

 pydev debugger: starting
 Validating models...

 0 errors found
 Django version 1.3.1, using settings 'muapp.settings'
 Development server is running at http://127.0.0.1:8000/
 Quit the server with CTRL-BREAK.
 Error: [Errno 10013]

It might be useful to point out that PyDev, like Eclipse, runs the configured command when the Run button is pressed. How is the default command and/or its options changed?

解决方案

Have a look at this video tutorial. Skip about 14 minutes in. Then use runserver 8080 instead of runserver in the arguments.

这篇关于改变pydev的端口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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