Discuss.FOLIO.org is no longer used. This is a static snapshot of the website as of February 14, 2023.

Question for how to bind port 4243 to Docker on Centos7 to solve problem of `refused 4342` when Okapi deploy module?

folios
31 May '17

Question as top title

wayne
31 May '17

I’m not sure how Docker is configured on CentOS. On Debian, which uses a systemd unit to launch Docker, you set your ExecStart command like so:

ExecStart=/usr/bin/dockerd -H fd:// -H tcp://0.0.0.0:4243

That will start up the Docker engine listening on all ports, so that Okapi can connect to it.

xley
31 May '17

See some further notes here: https://github.com/folio-org/folio-sample-modules#linux