# Factorio Server Won't Connect – Port 34197 & server-settings

Factorio dedicated server – connection failed? Port 34197 UDP, server-settings.json, mods & firewall – multiplayer troubleshooting.

**Quick answer:** Factorio connection issues: **port 34197 UDP**, `visibility: public` in server-settings.json and matching **mods**.

**If you landed here:** Factorio shows "Connection failed", mod mismatch or server not findable.

## Related

- [Install Factorio server](/en/gameserver/factorio/install)
- [Performance](/en/gameserver/factorio/improve-performance)
