# Docker repository with httpd reverse proxy and port mapping does not work (port is duplicated)

## post by deltoura on Mar 19, 2025

Hi,

I encounter the same issue as described here: [Access to the docker registry using none standard port fails - port value is duplicated](https://community.sonatype.com/t/access-to-the-docker-registry-using-none-standard-port-fails-port-value-is-duplicated/14398)

Using Nexus Repository 3.78.1.

I have setup a docker repository with a reverse proxy (Apache httpd), using a “port mapping” strategy as described here: [Docker Repository Reverse Proxy Strategies](https://help.sonatype.com/en/docker-repository-reverse-proxy-strategies.html#apache-port-mapping-reverse-proxy-example)

The port 445 redirects to the docker repository on Nexus port 8081.

It does not work and I get an error

`dial tcp: lookup my.company.com:445: no such host` and I see the port is duplicated in the URL: `https://my.company.com:445:445/v2/token`

The workaround suggested in the issue above works, but this looks like a bug as the configuration provided in the documentation does not work.

Would it be possible to fix, or at least change the documentation with a valid configuration?
