factoriotools / factorio-docker

Factorio headless server in a Docker container
https://hub.docker.com/r/factoriotools/factorio/
MIT License
1.08k stars 243 forks source link

No connection to game (WAN/LAN) #537

Closed phws642 closed 1 month ago

phws642 commented 1 month ago

I created the following Docker Compose on my Debian 12:

services:
factorio:
#image: factoriotools/factorio:stable-1.1.110
image: factoriotools/factorio
stdin_open: true
tty: true
ports:
- 34197:34197/udp
- 27016:27015/tcp
volumes:
 - /home/Docker/docker-stacks/factorio:/factorio

Unfortunately, I can connect to the server on the LAN or from outside. No game is displayed in the LAN browser either. The container is started without any problems: factorio-factorio-1 | 1.676 Hosting game at IP ADDR:({0.0.0.0:34197}) Port 34197/UDP is enabled. But as already mentioned, I cannot connect via IP in the LAN either.

"nmap -sU -p 34197 192.168.100.120" or "nmap -sU -p 34197 " shows the port is 34197/udp open|filtered unknown. I set also the factorio.com credentials for token and visibility true for public and lan with pw.