Project Fika
  • Home
  • General information
  • Installing Fika
  • Hosting a Fika server
    • Host using port forwarding
    • Host over LAN
    • Host using a VPN
    • Host using Playit.gg
  • Joining a Fika server
    • Standard connection
    • VPN
    • Playit.gg
  • Playing Fika
  • Fika configuration
    • Client
    • Server
  • Advanced features
    • Headless client
  • Modding Fika
  • Troubleshooting
  • Contribute to Fika
  • Credits
Powered by GitBook
On this page
  • Router configuration
  • SPT/Fika configuration
  • Windows Firewall
  • Last steps
  1. Hosting a Fika server

Host using port forwarding

Last updated 2 months ago

Port forwarding is a networking process that allows external devices to access one or multiple ports of a machine within your home network. Port forwarding can be configured through your router's settings interface, which is usually accessible by entering the gateway IP address into a web browser.

Not all Internet Service Providers (ISP) allows port forwarding. If you find yourself unable to port forward, you can use a public VPN service such as ZeroTier, Radmin, Playit.gg, etc.).

Free VPNs are known to cause performance or connectivity problems, so use at your own risk. Click to learn how to host using a VPN.

Router configuration

We do not provide a step-by-step tutorial for port forwarding because the router settings interface varies between different models and manufacturers. Make sure to research how to achieve port forwarding for your specific router model.

  • Go in your router's configuration interface (open browser and type the )

  • Access the port forward menu

  • Port forward the following ports to your computer:

    • 6969 TCP (SPT backend server)

    • 25565 UDP (Fika in-game networking)

If you are playing on a PC separate from where your SPT.server.exe is running, you will need to forward UDP (default of 25565) to the gaming PC, instead of the machine SPT.server.exe is running on.

SPT/Fika configuration

  • Start the SPT.Server at least once to generate the configuration files

  • Navigate to your user\mods\fika-server\assets\configs and open fika.jsonc

  • Navigate to the server section

  • Change ip to 0.0.0.0

  • Change backendIp to 0.0.0.0 (use your instead if you are having issues)

  • Save the file and close it

Windows Firewall

Last steps

Launch SPT.Server.exe.

If everything is working properly, you should see something similar in the console output:

ModLoader: loading: 1 server mods...
Mod: server version: 2.4.0 by: Fika loaded
Server: executing startup callbacks...
Importing database...
Database import finished
Started webserver at https://0.0.0.0:6969
Started websocket at wss://0.0.0.0:6969
Server is running, do not close while playing SPT, Happy playing!!

If you see errors (red text) then that means your configuration is invalid or you are unable to host using the configured IP address/port. We recommend visiting the "Troubleshooting" section of the Wiki or join our Discord for assistance.

You will need to configure the Windows Firewall to allow inbound traffic to the 6969 TCP and 25565 UDP ports. If you don't know how, you can use .

Validate that your server is accessible. To do this, you can try to access the port 6969 using an . Make sure the SPT server is running first before attempting this. If the port is closed, you may have an invalid configuration, Windows Firewall blocking the connection or your ISP does not allow port forwarding. See the Troubleshooting section for more details.

Your friends will need to as well and follow the steps to .

to learn how to host a raid.

to learn more about additional Fika configurations.

here
gateway IP
WAN IP
FikaUtils
online port checker
install Fika
join a Fika server
Click here
Click here