Cleanuparr port changes are needed when 11011 is already taken, when your network has a port policy, or when you simply want every service on a predictable range. The method depends on how you run the app, but in every case the change takes only a minute and leaves your settings untouched.

Host Port Versus Container Port

Docker port mappings have two halves. In 8585:11011, the left number is the port on your server and the right number is the port inside the container where Cleanuparr listens.

Changing only the left side is the cleanest approach for most users. Cleanuparr keeps listening on 11011 internally, while browsers and other devices connect through the new host port you picked.

MappingBrowser address
11011:11011http://SERVER-IP:11011
8585:11011http://SERVER-IP:8585
9011:11011http://SERVER-IP:9011

Changing the Port with docker run

Containers cannot change their published ports while running. Stop and remove the existing container, then start it again with the new mapping and the same config volume.

docker stop cleanuparr
docker rm cleanuparr
docker run -d --name cleanuparr \
  --restart unless-stopped \
  -p 8585:11011 \
  -v /path/to/config:/config \
  -e PUID=1000 -e PGID=1000 -e TZ=Etc/UTC \
  ghcr.io/cleanuparr/cleanuparr:latest

Because the config folder is reused, every client connection and rule you configured earlier is still there when the interface opens on port 8585.

Changing the Port with Docker Compose

Compose users edit a single line. Update the ports entry and run docker compose up -d, which recreates the container with the new mapping.

    ports:
      - "8585:11011"

Remember to update any bookmarks, dashboards such as Homepage or Homarr, and reverse proxy targets that still point at the old host port.

Using the PORT Environment Variable

The documented examples include PORT=11011, which sets the port the app listens on inside the container. Changing it is useful with host networking, where there is no port mapping to edit.

    network_mode: host
    environment:
      - PORT=8585

If you change PORT while still using a bridge network, the right side of the mapping must match it, for example 8585:8585. A mismatch is the most common reason the interface stops loading after a port edit.

Changing the Port on Unraid

Unraid templates expose the web port as an editable field. Open the Docker tab, edit the Cleanuparr container, set a new host port value and apply the change.

The WebUI link in the container menu updates automatically when the template uses the port variable. If it still opens the old port, edit the WebUI field in advanced view so it references the new value.

Changing the Port on Native Installs

Windows, macOS and Linux builds read the same PORT setting as the container. Set it as an environment variable for the account or service that launches Cleanuparr, then restart the app.

  • Windows: set a user or system environment variable named PORT
  • Linux: add Environment=PORT=8585 to a systemd unit
  • macOS: define the variable in the launch configuration you use

Check the official documentation for any build-specific options, since installer-based releases may store settings in their own location.

Testing the New Port

Open the new address in a browser and confirm the dashboard loads. Then run a quick connection test for each download client and *arr app inside Cleanuparr to make sure nothing else was affected.

  • Allow the new port on the host firewall if LAN devices cannot connect
  • Point your reverse proxy at the new host port or container port
  • Confirm the old port no longer responds to avoid stale bookmarks

Choosing a New Port Number

Pick a port between 1024 and 65535 that no other service on the host uses. Ports below 1024 need extra privileges on Linux, and well-known numbers such as 8080 are frequently taken by download clients already.

Many people group their media services into a range, for example 8500 to 8599, so ports are easy to remember. Whatever number you choose, record it alongside your compose files for future reference.

Port rangeSuitability
0 to 1023Avoid; reserved for system services
1024 to 49151Good choice if the number is free
49152 to 65535Usable, but often used for temporary connections

Updating a Reverse Proxy After the Change

A proxy pointing at the old host port returns a gateway error until you update it. Change the upstream target to the new host port, or to cleanuparr:11011 if the proxy shares a Docker network with the container.

Proxies that reach the container internally do not need changing at all when only the host port moves. That is one reason many users stop publishing the port entirely once a proxy is in place.

Rolling Back a Port Change

If the interface stops loading after a change, go back to the default mapping of 11011:11011 and confirm the app responds again. Once it works, repeat the change carefully and check both sides of the mapping.

  • Compare the PORT value with the container side of the mapping
  • Check the container log for a line showing the listening port
  • Clear the browser cache if an old redirect keeps appearing

Port Changes and Dashboards

Dashboard tools such as Homepage, Homarr or Heimdall store the address of each service. After moving Cleanuparr to a new host port, edit its tile so the link and any status widget point to the correct number.

Bookmarks on phones and other browsers need the same update. Removing stale bookmarks straight away prevents the confusing situation where an old address seems to show the app as offline.

  • Update dashboard tiles and status checks
  • Replace saved bookmarks on every device
  • Edit uptime monitors that track the old port

Writing the new number into the notes kept with your compose files completes the change, so anyone working on the server later knows exactly where Cleanuparr is listening and why it moved.

Conclusion

Cleanuparr port changes are safest when you edit only the host side of the Docker mapping and leave the internal port at 11011. Use the PORT variable for host networking or native installs, keep the config folder in place, and update proxies and bookmarks so every link follows the new number.