Closed jmtcsngr closed 6 months ago
The default for the uncontainerised server should be localhost, so that anyone using it as a personal iRODS portal doesn't suddenly start serving their data to the network. This certainly needs documenting.
I will update the Docker Compose file with that configuration, so that there's a working example of it.
Resolved
Expect this will start listening and allow connections
But when connecting from ouside docker it produces:
Works with:
produces:
I tried the
0.0.0.0
after I read this post about issues with getting a certificate https://github.com/pocketbase/pocketbase/issues/107#issuecomment-1193399902 I think it is a Go thing trying to resolve IP of host inside the container. Then being unhappy because the IP inside the container do not match things in the certificate. I don't know enough Go to get a full trace of what is happening with the cert and why connections are not stablished. The default for net.Dial is0.0.0.0
. Maybe we should keep that as default, instead oflocalhost
. Or try to document it to help people.