Docker: Installing Farmer results in Error of using Port (node)

Issue Report

Environment

  • Ubuntu 20.04.5 LTS
  • 4core AMD EPYC 7502 32-Core Processo /vServer
  • 4GB
  • 120 SSD
  • 100GB
  • Docker docker-compose

Problem

During Install of the Cointainer node and then farmer I’ve got an error:
docker compose up -d

" ⠿ Container subspace-farmer-1 Created 1.6s
Error response from daemon: driver failed programming external connectivity on endpoint subspace-node-1 (XXXXXXXa7ac74fe59006251 21375410f1b514f08b47e61f497a7e61ab00b0): Error starting userland proxy: listen tcp4 0.0.0.0:30333: bind: address already in use"

Steps to reproduce

  1. restart deploying
  2. restart server
  3. run sudo netstat -pna | grep 30333

Expected result

There is a third service wich blocks it and prevend install routine.

What happens instead

netstat says, that online subspace-node is using port 30333 (wich is normaly good?) .

I am a little bit confused about this failure. In my view the node should not prevent the install routine.

Thank you for your support!

1 Like

There are comments in the docker-compose.yml template suggesting that you can replace port 30333 with a different one if it is already used. Just replace all occurrences in the file with 30334 or any other port you like (above 1024).