[GH-ISSUE #4682] [Bug]: Unturned Server Not Listening on Required Ports #2910

Closed
opened 2026-02-27 03:06:13 +03:00 by kerem · 1 comment
Owner

Originally created by @SebasVee on GitHub (Oct 5, 2024).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/4682

User story

I was testing some free games to host for my family, and I wanted to see how well they work.

Game

Unturned

Linux distro

Ubuntu 22.04

Command

command: start

Further information

I'm having trouble with the Unturned server not listening on the required ports (27015 and 27016). It’s running in a Docker container, and I’m using the default config file. I even tried hardcoding the Commands.dat file, but it still doesn’t listen on those ports.

Relevant log output

Distro Details
==============================================================================================================================================================================
Date:         Sat Oct  5 10:02:51 PM UTC 2024
Distro:       Ubuntu 22.04.5 LTS
Arch:         x86_64
Kernel:       6.8.12-2-pve
Hostname:     2a257ff258dc
Environment:  docker
Uptime:       14d, 21h, 26m
tmux:         3.2a
glibc:        2.35

Server Resource
==============================================================================================================================================================================
CPU
Model:      Intel(R) Pentium(R) Silver J5005 CPU @ 1.50GHz
Cores:      4
Frequency:  2695.680MHz
Avg Load:   4.55, 3.27, 2.55

Memory
Mem:       total  used   free   cached  available
Physical:  16GB   11GB   3.8GB  2.2GB   3.8GB
Swap:      8.0GB  173MB  7.9GB

Storage
Filesystem:  overlay
Total:       40G
Used:        6.6G
Available:   31G

Network
IP:           0.0.0.0
Internet IP:  x.x.x.x

Unturned Resource Usage
==============================================================================================================================================================================
CPU Used:  58.8%
Mem Used:  5.7%   898MB

Storage
Total:        22M
Serverfiles:  2.7G

Unturned Server Details
==============================================================================================================================================================================
Server name:  LinuxGSM
App ID:       1110390
Server IP:    0.0.0.0:27015
Internet IP:  x.x.x.x:27015
Maxplayers:   20
Default map:  PEI
Game mode:    normal
Status:       STARTED

untserver Script Details
==============================================================================================================================================================================
Script name:       untserver
LinuxGSM version:  v24.3.1
glibc required:    2.15
Discord alert:     off
Email alert:       off
Gotify alert:      off
IFTTT alert:       off
Pushbullet alert:  off
Pushover alert:    off
Rocketchat alert:  off
Slack alert:       off
Telegram alert:    off
Update on start:   off
User:              linuxgsm
Location:          /app
Config file:       /data/serverfiles/Servers/untserver/Config.json

Backups
==============================================================================================================================================================================
No Backups created

Command-line Parameters
==============================================================================================================================================================================
 ./Unturned_Headless.x86_64 -nographics -batchmode -bind 0.0.0.0 -port 27015 -maxplayers 20 -perspective first -mode normal -name LinuxGSM -map PEI -gslt  +InternetServer/untserver

Ports
==============================================================================================================================================================================
Change ports by editing the parameters in:
/data/config-lgsm/untserver

Useful port diagnostic command:
ss -tuplwn | grep Unturned_Headle

DESCRIPTION  PORT   PROTOCOL  LISTEN
Game         27015  udp       0
Query        27015  udp       0
Steam        27016  udp       0

Status: STARTED

Script output:

Oct 05 21:59:55.512 untserver: START: PASS: Started LinuxGSM
Oct 05 21:59:55.522 untserver: START: PASS: Using cached IP as public IP address
Oct 05 21:59:55.652 untserver: START: PASS: Started LinuxGSM
Oct 05 21:59:55.734 untserver: START: INFO: LinuxGSM version: v24.3.1
Oct 05 21:59:55.738 untserver: START: PASS: core_exit.sh exiting with code: 0
Oct 05 21:59:55.889 untserver: START: INFO: Using anonymous Steam login
Oct 05 21:59:56.430 untserver: MONITOR: PASS: Using cached IP as public IP address
Oct 05 22:00:06.629 untserver: UPDATE: INFO: Using anonymous Steam login
Oct 05 22:00:07.150 untserver: DETAILS: PASS: Using cached IP as public IP address
Oct 05 22:00:11.524 untserver: MONITOR: PASS: Using cached IP as public IP address
Oct 05 22:00:14.586 untserver: MONITOR: PASS: Checking details: Details is running
Oct 05 22:00:14.696 untserver: MONITOR: INFO: LinuxGSM version: v24.3.1
Oct 05 22:00:14.728 untserver: MONITOR: PASS: core_exit.sh exiting with code: 0
Oct 05 22:00:27.759 untserver: MONITOR: PASS: Using cached IP as public IP address
Oct 05 22:00:29.537 untserver: DETAILS: PASS: Using cached IP as public IP address
Oct 05 22:00:39.611 untserver: UPDATE: PASS: Checking local build
Oct 05 22:00:41.081 untserver: MONITOR: PASS: Using cached IP as public IP address
Oct 05 22:00:43.464 untserver: MONITOR: PASS: Checking details: Details is running
Oct 05 22:00:43.528 untserver: MONITOR: INFO: LinuxGSM version: v24.3.1
Oct 05 22:00:43.538 untserver: MONITOR: PASS: core_exit.sh exiting with code: 0
Oct 05 22:00:51.332 untserver: UPDATE: PASS: Checking remote build
Oct 05 22:00:51.822 untserver: CORE: ERROR: Unknown command: ./untserver help
Oct 05 22:00:51.964 untserver: UPDATE: INFO: No update available
Oct 05 22:00:51.975 untserver: UPDATE: INFO: Local build: 15449522
Oct 05 22:00:51.988 untserver: UPDATE: INFO: Remote build: 15449522
Oct 05 22:00:51.999 untserver: UPDATE: INFO: Branch: public
Oct 05 22:00:52.045 untserver: UPDATE: INFO: LinuxGSM version: v24.3.1
Oct 05 22:00:52.055 untserver: UPDATE: PASS: core_exit.sh exiting with code: 0
Oct 05 22:00:52.181 untserver: CORE: PASS: Display commands
Oct 05 22:00:52.202 untserver: CORE: INFO: LinuxGSM version: v24.3.1
Oct 05 22:00:52.206 untserver: CORE: PASS: core_exit.sh exiting with code: 0
Oct 05 22:00:54.564 untserver: DETAILS: INFO: LinuxGSM version: v24.3.1
Oct 05 22:00:54.571 untserver: DETAILS: PASS: core_exit.sh exiting with code: 0
Oct 05 22:01:01.118 untserver: DETAILS: PASS: Using cached IP as public IP address
Oct 05 22:01:10.629 untserver: DETAILS: PASS: Using cached IP as public IP address
Oct 05 22:01:10.805 untserver: MONITOR: PASS: Using cached IP as public IP address
Oct 05 22:01:19.514 untserver: MONITOR: PASS: Using cached IP as public IP address
Oct 05 22:01:21.590 untserver: MONITOR: PASS: Checking details: Details is running
Oct 05 22:01:21.616 untserver: MONITOR: INFO: LinuxGSM version: v24.3.1
Oct 05 22:01:21.624 untserver: MONITOR: PASS: core_exit.sh exiting with code: 0
Oct 05 22:01:31.102 untserver: DETAILS: INFO: LinuxGSM version: v24.3.1
Oct 05 22:01:31.107 untserver: DETAILS: PASS: core_exit.sh exiting with code: 0
Oct 05 22:02:19.845 untserver: DETAILS: PASS: Using cached IP as public IP address
Oct 05 22:02:24.667 untserver: MONITOR: PASS: Using cached IP as public IP address
Oct 05 22:02:32.752 untserver: DETAILS: PASS: Using cached IP as public IP address
Oct 05 22:02:34.806 untserver: MONITOR: PASS: Using cached IP as public IP address
Oct 05 22:02:36.877 untserver: MONITOR: PASS: Checking details: Details is running
Oct 05 22:02:36.906 untserver: MONITOR: INFO: LinuxGSM version: v24.3.1
Oct 05 22:02:36.912 untserver: MONITOR: PASS: core_exit.sh exiting with code: 0
Oct 05 22:02:51.958 untserver: DETAILS: INFO: LinuxGSM version: v24.3.1
Oct 05 22:02:51.965 untserver: DETAILS: PASS: core_exit.sh exiting with code: 0
Oct 05 22:03:39.139 untserver: MONITOR: PASS: Using cached IP as public IP address
Oct 05 22:04:03.236 untserver: MONITOR: PASS: Using cached IP as public IP address
Oct 05 22:04:05.096 untserver: MONITOR: INFO: Checking session: CHECKING
Oct 05 22:04:05.360 untserver: MONITOR: PASS: Checking session: OK
Oct 05 22:04:06.906 untserver: MONITOR: INFO: Querying port: gamedig: 127.0.0.1:27015 : 1 : QUERYING
Oct 05 22:04:13.448 untserver: MONITOR: WARN: Querying port: gamedig: 127.0.0.1:27015 : 1 : FAIL
Oct 05 22:04:14.982 untserver: MONITOR: INFO: Querying port: gamedig: 172.10.25.51:27015 : 1 : QUERYING
Oct 05 22:04:21.469 untserver: MONITOR: WARN: Querying port: gamedig: 172.10.25.51:27015 : 1 : FAIL

Steps to reproduce

  1. Start the Unturned server in a Docker container.
  2. Check the listening ports using the command: ss -tuplwn.
Originally created by @SebasVee on GitHub (Oct 5, 2024). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/4682 ### User story I was testing some free games to host for my family, and I wanted to see how well they work. ### Game Unturned ### Linux distro Ubuntu 22.04 ### Command command: start ### Further information I'm having trouble with the Unturned server not listening on the required ports (27015 and 27016). It’s running in a Docker container, and I’m using the default config file. I even tried hardcoding the Commands.dat file, but it still doesn’t listen on those ports. ### Relevant log output ```shell Distro Details ============================================================================================================================================================================== Date: Sat Oct 5 10:02:51 PM UTC 2024 Distro: Ubuntu 22.04.5 LTS Arch: x86_64 Kernel: 6.8.12-2-pve Hostname: 2a257ff258dc Environment: docker Uptime: 14d, 21h, 26m tmux: 3.2a glibc: 2.35 Server Resource ============================================================================================================================================================================== CPU Model: Intel(R) Pentium(R) Silver J5005 CPU @ 1.50GHz Cores: 4 Frequency: 2695.680MHz Avg Load: 4.55, 3.27, 2.55 Memory Mem: total used free cached available Physical: 16GB 11GB 3.8GB 2.2GB 3.8GB Swap: 8.0GB 173MB 7.9GB Storage Filesystem: overlay Total: 40G Used: 6.6G Available: 31G Network IP: 0.0.0.0 Internet IP: x.x.x.x Unturned Resource Usage ============================================================================================================================================================================== CPU Used: 58.8% Mem Used: 5.7% 898MB Storage Total: 22M Serverfiles: 2.7G Unturned Server Details ============================================================================================================================================================================== Server name: LinuxGSM App ID: 1110390 Server IP: 0.0.0.0:27015 Internet IP: x.x.x.x:27015 Maxplayers: 20 Default map: PEI Game mode: normal Status: STARTED untserver Script Details ============================================================================================================================================================================== Script name: untserver LinuxGSM version: v24.3.1 glibc required: 2.15 Discord alert: off Email alert: off Gotify alert: off IFTTT alert: off Pushbullet alert: off Pushover alert: off Rocketchat alert: off Slack alert: off Telegram alert: off Update on start: off User: linuxgsm Location: /app Config file: /data/serverfiles/Servers/untserver/Config.json Backups ============================================================================================================================================================================== No Backups created Command-line Parameters ============================================================================================================================================================================== ./Unturned_Headless.x86_64 -nographics -batchmode -bind 0.0.0.0 -port 27015 -maxplayers 20 -perspective first -mode normal -name LinuxGSM -map PEI -gslt +InternetServer/untserver Ports ============================================================================================================================================================================== Change ports by editing the parameters in: /data/config-lgsm/untserver Useful port diagnostic command: ss -tuplwn | grep Unturned_Headle DESCRIPTION PORT PROTOCOL LISTEN Game 27015 udp 0 Query 27015 udp 0 Steam 27016 udp 0 Status: STARTED Script output: Oct 05 21:59:55.512 untserver: START: PASS: Started LinuxGSM Oct 05 21:59:55.522 untserver: START: PASS: Using cached IP as public IP address Oct 05 21:59:55.652 untserver: START: PASS: Started LinuxGSM Oct 05 21:59:55.734 untserver: START: INFO: LinuxGSM version: v24.3.1 Oct 05 21:59:55.738 untserver: START: PASS: core_exit.sh exiting with code: 0 Oct 05 21:59:55.889 untserver: START: INFO: Using anonymous Steam login Oct 05 21:59:56.430 untserver: MONITOR: PASS: Using cached IP as public IP address Oct 05 22:00:06.629 untserver: UPDATE: INFO: Using anonymous Steam login Oct 05 22:00:07.150 untserver: DETAILS: PASS: Using cached IP as public IP address Oct 05 22:00:11.524 untserver: MONITOR: PASS: Using cached IP as public IP address Oct 05 22:00:14.586 untserver: MONITOR: PASS: Checking details: Details is running Oct 05 22:00:14.696 untserver: MONITOR: INFO: LinuxGSM version: v24.3.1 Oct 05 22:00:14.728 untserver: MONITOR: PASS: core_exit.sh exiting with code: 0 Oct 05 22:00:27.759 untserver: MONITOR: PASS: Using cached IP as public IP address Oct 05 22:00:29.537 untserver: DETAILS: PASS: Using cached IP as public IP address Oct 05 22:00:39.611 untserver: UPDATE: PASS: Checking local build Oct 05 22:00:41.081 untserver: MONITOR: PASS: Using cached IP as public IP address Oct 05 22:00:43.464 untserver: MONITOR: PASS: Checking details: Details is running Oct 05 22:00:43.528 untserver: MONITOR: INFO: LinuxGSM version: v24.3.1 Oct 05 22:00:43.538 untserver: MONITOR: PASS: core_exit.sh exiting with code: 0 Oct 05 22:00:51.332 untserver: UPDATE: PASS: Checking remote build Oct 05 22:00:51.822 untserver: CORE: ERROR: Unknown command: ./untserver help Oct 05 22:00:51.964 untserver: UPDATE: INFO: No update available Oct 05 22:00:51.975 untserver: UPDATE: INFO: Local build: 15449522 Oct 05 22:00:51.988 untserver: UPDATE: INFO: Remote build: 15449522 Oct 05 22:00:51.999 untserver: UPDATE: INFO: Branch: public Oct 05 22:00:52.045 untserver: UPDATE: INFO: LinuxGSM version: v24.3.1 Oct 05 22:00:52.055 untserver: UPDATE: PASS: core_exit.sh exiting with code: 0 Oct 05 22:00:52.181 untserver: CORE: PASS: Display commands Oct 05 22:00:52.202 untserver: CORE: INFO: LinuxGSM version: v24.3.1 Oct 05 22:00:52.206 untserver: CORE: PASS: core_exit.sh exiting with code: 0 Oct 05 22:00:54.564 untserver: DETAILS: INFO: LinuxGSM version: v24.3.1 Oct 05 22:00:54.571 untserver: DETAILS: PASS: core_exit.sh exiting with code: 0 Oct 05 22:01:01.118 untserver: DETAILS: PASS: Using cached IP as public IP address Oct 05 22:01:10.629 untserver: DETAILS: PASS: Using cached IP as public IP address Oct 05 22:01:10.805 untserver: MONITOR: PASS: Using cached IP as public IP address Oct 05 22:01:19.514 untserver: MONITOR: PASS: Using cached IP as public IP address Oct 05 22:01:21.590 untserver: MONITOR: PASS: Checking details: Details is running Oct 05 22:01:21.616 untserver: MONITOR: INFO: LinuxGSM version: v24.3.1 Oct 05 22:01:21.624 untserver: MONITOR: PASS: core_exit.sh exiting with code: 0 Oct 05 22:01:31.102 untserver: DETAILS: INFO: LinuxGSM version: v24.3.1 Oct 05 22:01:31.107 untserver: DETAILS: PASS: core_exit.sh exiting with code: 0 Oct 05 22:02:19.845 untserver: DETAILS: PASS: Using cached IP as public IP address Oct 05 22:02:24.667 untserver: MONITOR: PASS: Using cached IP as public IP address Oct 05 22:02:32.752 untserver: DETAILS: PASS: Using cached IP as public IP address Oct 05 22:02:34.806 untserver: MONITOR: PASS: Using cached IP as public IP address Oct 05 22:02:36.877 untserver: MONITOR: PASS: Checking details: Details is running Oct 05 22:02:36.906 untserver: MONITOR: INFO: LinuxGSM version: v24.3.1 Oct 05 22:02:36.912 untserver: MONITOR: PASS: core_exit.sh exiting with code: 0 Oct 05 22:02:51.958 untserver: DETAILS: INFO: LinuxGSM version: v24.3.1 Oct 05 22:02:51.965 untserver: DETAILS: PASS: core_exit.sh exiting with code: 0 Oct 05 22:03:39.139 untserver: MONITOR: PASS: Using cached IP as public IP address Oct 05 22:04:03.236 untserver: MONITOR: PASS: Using cached IP as public IP address Oct 05 22:04:05.096 untserver: MONITOR: INFO: Checking session: CHECKING Oct 05 22:04:05.360 untserver: MONITOR: PASS: Checking session: OK Oct 05 22:04:06.906 untserver: MONITOR: INFO: Querying port: gamedig: 127.0.0.1:27015 : 1 : QUERYING Oct 05 22:04:13.448 untserver: MONITOR: WARN: Querying port: gamedig: 127.0.0.1:27015 : 1 : FAIL Oct 05 22:04:14.982 untserver: MONITOR: INFO: Querying port: gamedig: 172.10.25.51:27015 : 1 : QUERYING Oct 05 22:04:21.469 untserver: MONITOR: WARN: Querying port: gamedig: 172.10.25.51:27015 : 1 : FAIL ``` ### Steps to reproduce 1. Start the Unturned server in a Docker container. 2. Check the listening ports using the command: ss -tuplwn.
Author
Owner

@dgibbs64 commented on GitHub (Jun 21, 2025):

Tested on my own container and confirmed working. Possible configuration issue. closing.

<!-- gh-comment-id:2993752986 --> @dgibbs64 commented on GitHub (Jun 21, 2025): Tested on my own container and confirmed working. Possible configuration issue. closing.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#2910
No description provided.