1

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.

saaj
  • 23,253
  • 3
  • 104
  • 105
toske
  • 1,744
  • 13
  • 24

2 Answers2

1

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.

julen
  • 4,959
  • 1
  • 23
  • 31
1

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

VasekCh
  • 984
  • 8
  • 8