The gateway and registry tested within localhost docker, it works.
There are two ways
Both applications should be run under the same docker network and then it works
If don't want these applications to run under the same docker network, both applications should be exposed using a local tunnel that makes them https enabled.