Sonarr version (exact version): Latest from Docker
OS: Ubuntu 20.04
Debug logs:
Description of issue: Sonarr is listening on the wrong port.
I used the command from the docker hub: https://hub.docker.com/r/linuxserver/sonarr
docker run -d \
--name=sonarr \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Europe/London \
-p 8989:8989 \
-v /path/to/data:/config \
-v /path/to/tvseries:/tv `#optional` \
-v /path/to/downloadclient-downloads:/downloads `#optional` \
--restart unless-stopped \
lscr.io/linuxserver/sonarr
I can’t access Sonarr, so I checked docker log
and saw that it’s listening on port 7878, like Radarr. Not sure why because as you can see, I exposed port 8989.
[Info] Bootstrap: Starting Sonarr - /app/sonarr/bin/Sonarr.exe - Version 3.0.7.1477
[Info] AppFolderInfo: Data directory is being overridden to [/config]
[Info] Router: Application mode: Interactive
[Info] MigrationLogger: *** Checking database for required migrations data source=/config/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
[Info] MigrationLogger: *** Checking database for required migrations data source=/config/logs.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
[Info] OwinHostController: Listening on the following URLs:
[Info] OwinHostController: http://*:7878/
[Info] SonarrBootstrapper: Starting Web Server
Any ideas on how to change it?
EDIT
Found the solution. Simply ran docker exec
, installed nano
, edited /config/config.xml
to use the correct port, restarted the container and now it works on localhost:8989
.