When running EventStore inside a docker container, you may want to change the "outside" listenting port. This can be done easyil with docker and the
But the EventStore WebUI will not respect these changes, since it does not know, that the "outside" port is different. Resulting in broken URLs generated by the EventStore WebUI which point to the default port 2113.
You can change this by setting both the
EVENTSTORE_EXT_HTTP_PORT_ADVERTISE_AS environment variable when starting the docker container:
docker run -it --rm \ -e EVENTSTORE_EXT_HTTP_PORT=9999 \ -e EVENTSTORE_EXT_HTTP_PORT_ADVERTISE_AS=9999 \ -p 9999:2113 -p 1113:1113 eventstore/eventstore