How to choose a predefined port instead of letting I2P choose a random one?

For example, docker usage requires to know the port before running the router for the first time.

1 Answer 1


You can edit the ports in ~/.i2p-zero/config/router.config before starting. There's plenty of example docker images available which do this, for example, in the main i2p distribution: router.config & Dockerfile.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.