开发者

eclipse listening on port 8000

My eclipse somehow starts listening on port 8000. I have no idea why it does so. I am using Eclipse for Python development (using PyDev tools).

This default port conflicts with default Django development server port viz 8000. I am not able to start Django development version. Off course I can shutdown eclipse, start Django and then restart eclipse, but I would prefer to disable the usage of port 8000 by Eclipse.

On Internet I saw some references to remote debugging capabilities of Eclipse, but could not figure o开发者_如何学JAVAut how to change this default port number.


I figured out that this problem was happening because of Aptana JavaScript Debug Console which attempts to start a builtin HTTP server in port range (8000 onwards whichever port it finds available first). I just changed this port range in preferences and now I am good.


If you want to start Django's development server on a another port, just add this parameter:

python manage.py runserver 8001
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜