Change directory Python SimpleHTTPServer uses

谁说胖子不能爱 提交于 2019-12-04 18:50:38

Then if I try to run on another directory it says it's already in use

You can only bind to each port once with SimpleHTTPServer. If you are already running the server on port 8008, you can not run another instance listening on that same port.

you should stop the server, and launch it from the other directory... or choose a different port number for running the 2nd instance.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!