OS Name/Version: Ubuntu 20.04.2 LTS
Product Name/Version: AMP v2.1.1.8
Problem Description: Starting the server while in Docker does not listen on the game port, at least according to netstat. What this means is that it is impossible to connect - any connection will timeout.
While in Docker, netstat shows this:
root@[removed]:~# netstat -ultp | grep 7Days
tcp 0 0 0.0.0.0:27018 0.0.0.0:* LISTEN 24539/7DaysToDieSer
udp 0 0 0.0.0.0:27019 0.0.0.0:* 24539/7DaysToDieSer
udp6 0 0 [::]:27019 [::]:* 24539/7DaysToDieSer
As can be seen above, 27017 UDP and TCP (game port) is absent.
I created a new instance without Docker and the problem appears to no longer persist - netstat shows:
root@[removed]:~# netstat -ultp | grep 7Days
tcp 0 0 0.0.0.0:27017 0.0.0.0:* LISTEN 21044/7DaysToDieSer
tcp 0 0 0.0.0.0:27018 0.0.0.0:* LISTEN 21044/7DaysToDieSer
udp 3072 0 0.0.0.0:27017 0.0.0.0:* 21044/7DaysToDieSer
udp 0 0 0.0.0.0:27019 0.0.0.0:* 21044/7DaysToDieSer
udp 0 0 [removed]:53748 0.0.0.0:* 21044/7DaysToDieSer
udp6 0 0 [::]:27019 [::]:* 21044/7DaysToDieSer
It is possible to connect without Docker.
Steps to reproduce:
- Install AMP (enable Docker for instances)
- Create a new instance for 7 Days to Die
- Start the server
- Check netstat to see if it is listening
Actions taken to resolve so far:
- Made a new instance without Docker (workaround) and it works fine (as above).
- Added custom ports for [UDP] Game+1 and Game+2 - no longer times out, but states server is not initialised because game port is not showing as listening.
- Attempted to use a specific IP address (as opposed to 0.0.0.0) without success.
- Attempted to pull latest Docker image (already latest).
I may have missed something obvious, but I can't remember if I ever got 7 Days to Die working in Docker before. Last time I used it was probably without Docker.
Hopefully this is not a duplicate post.