[Solvde] Installation issue - Gluetun failed to bind host port

Having any issues installing YAMS? This is the place to ask!
smounse
Posts: 8
Joined: Thu Mar 06, 2025 6:48 pm
Great Britain

[Solvde] Installation issue - Gluetun failed to bind host port

Post by smounse »

Hello! Bit of a linux noob here but after a bit of head bashing getting drives formatted, user permissions sorted and fumbling through the basic commands eventually YAMS started to install. Yay! I thought, until it tried to start the YAMS services and fails with gluetun issue where it can't bind a host port as the address is already in use.

I'm using nordvpn, pretty sure credentials are correct and tried twice to be sure but got the same error:

Image

Can any of you kind wizards please help me understand what's going on and how to resolve?

User avatar
rogs
Site Admin
Posts: 254
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: Installation issue - Gluetun failed to bind host port

Post by rogs »

Hey @smounse!

The error is pretty self-explanatory. Read the end:

address already in use

You are running another service that is using port 8080. In YAMS, port 8080 is used for SABnzbd. Change the port for the app that is currently using port 8080 or manually change the port in Gluetun.

Cheers!

Roger.

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
smounse
Posts: 8
Joined: Thu Mar 06, 2025 6:48 pm
Great Britain

Re: Installation issue - Gluetun failed to bind host port

Post by smounse »

Thanks Roger,

I'd figured something else was using that port with my unfamiliarity with Linux wasn't sure how to check what service was using the same port.

If you could be so kind as to explain or point me in the direction of how to change the ports it's be much appreciated!

Given these were presumably all default values set during the YAMS installation, why did it try and set them both to use the same port?

User avatar
rogs
Site Admin
Posts: 254
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: Installation issue - Gluetun failed to bind host port

Post by rogs »

This doesn't seem YAMS related. Are you sure you aren't running anything else on that computer? Something else is definitely using port 8080

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
smounse
Posts: 8
Joined: Thu Mar 06, 2025 6:48 pm
Great Britain

Re: Installation issue - Gluetun failed to bind host port

Post by smounse »

I think you're right. I've checked the ports in use and looks like the service 'python3' is using port 8080. I'm not sure what I installed that it's related to, but I'll do some self-learning and figure out how to change it! I appreciate the help and the timely response, if I get stuck again I'll report back!

P.S. I love cats too, mine are absolute little monsters but wouldn't change them for the world haha

User avatar
rogs
Site Admin
Posts: 254
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: Installation issue - Gluetun failed to bind host port

Post by rogs »

One question, did you fail installing YAMS the first time? Maybe there's an old container still running and clogging port 8080.

Cats are the best. You just have to understand that they don't live with you; you live with them :mrgreen:

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
smounse
Posts: 8
Joined: Thu Mar 06, 2025 6:48 pm
Great Britain

Re: Installation issue - Gluetun failed to bind host port

Post by smounse »

The first install failed because of the write permissions on the external HDD I'm using as the media drive. Once I got that sorted it seemed to install fine up until the point of starting YAMS where I got this issue.

I'll fumble around trying to figure out how to change the port one of the services are using, I'll get there eventually!

User avatar
rogs
Site Admin
Posts: 254
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: Installation issue - Gluetun failed to bind host port

Post by rogs »

If you had a failed installation, you might have the old YAMS version still running. If you are 100% sure you are not running anything else in your host machine, remove all the docker containers and try installing YAMS again. That should fix all the issues

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
smounse
Posts: 8
Joined: Thu Mar 06, 2025 6:48 pm
Great Britain

Re: Installation issue - Gluetun failed to bind host port

Post by smounse »

The YAMS CLI wasn't working (guess it didn't get far enough to install) soI'm going the nuclear option and just wiping and reinstalling Ubuntu and starting from scratch... Clearly I installed some service that was using that port when I was initially trying to get my head around things, and things I tried just failed to reassign the ports for either service. Fingers crossed 🤞

smounse
Posts: 8
Joined: Thu Mar 06, 2025 6:48 pm
Great Britain

Re: Installation issue - Gluetun failed to bind host port

Post by smounse »

Success! Everything installed ok and YAMS CLI is working now too. However... Where do I find the yams_services.txt file? I tried to find in the expected directories but came up with nothing. I'm definitely being an idiot 😞

Post Reply