Skip to content
/SLASHPLAY

How to bind a Factorio server to an IP address

Start the server with --bind <address>, or --bind <address>:<port>. On SLASHPLAY the address and port are set for you.

--bind

The IP address, and optionally the port, the server listens on.

--bind <address>[:<port>]

Examples

--bind 0.0.0.0:34197

Every address, port 34197.

Arguments

addressRequired
The IP address.
portOptional
The port.

What it does

Useful on a machine with several addresses.

Good to know

  • SLASHPLAY sets the ports. Changing them here stops players from connecting.

Run it on your server

Type commands with the leading slash in the Console tab, which runs them as the server; in game, admins type them in chat. Settings go in config/server-settings.json in the Files tab and apply at the next restart. New to this? Start a Factorio server first.

Your own
Factorio server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.