简体   繁体   中英

Change port for pootle server

I have just setup Pootle translation server, but as being absolute beginner with Python, and fact that I can't find any configuration setting in default file that Pootle installation creates regarding HTTP port that servers run on, hope that someone here can give me quick tip.

From Pootle's documentation:

By default Pootle provides a built-in CherryPy server that will be enough for quickly testing the software.

The built-in CherryPy server's default port is 8000 , and you can change it by passing --port <port-number> to the pootle start command.

Note however you should only use CherryPy for testing, and setting up a reverse proxy is highly recommended .

In Pootle 2.7 you need to use:

pootle run_cherrypy --port <PORT_NUM>

instead of pootle start which does not accept --port nor --host .

I need to have CherryPy bound to all interfaces, so I use:

pootle run_cherrypy --host 0.0.0.0

Official documentation

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM