VGKAMI
Advertise Get listed

Game Guides

How to Fix Wurm Unlimited Server Lag and Connection Problems

Published 12 min read

Fix the symptom first. If your Wurm Unlimited server appears on the LAN tab but not on the Internet tab, the usual cause is Steam query traffic being blocked by a host firewall, router NAT, or an incorrect external address. If players can join but suffer rubber-banding or long pauses, investigate server logs, Java memory and startup settings, scheduled or database work, and GMTOOL activity instead of buying networking hardware.

This guide gives a safe order of operations: classify the failure, verify the documented ports and IP binding, check firewall direction, inspect LAG_THRESHOLD logs, validate Java settings, isolate client-only failures, and back up db/ and maps/ before maintenance.

How do I tell whether the problem is discovery, connection, server lag, or client lag?

Use the player-visible symptom to choose the right test. Discovery failures are network-advertising problems; refused or timed-out connections are usually a missing route or blocked port; rubber-banding after login points to server-side processing; and a failure affecting only one player is normally local to that computer or network.

What players see Likely area First checks
Server is absent from the Internet list but visible on LAN Steam query traffic, NAT, router forwarding, or firewall Refresh the client, compare the Internet and LAN tabs, then verify UDP 27016–27030 and the router destination address.
Server is listed, but joining is refused or times out Client port, host inbound rule, router forwarding, or external IP/port fields Check TCP 3724 end to end and confirm that the server advertises the address and port reachable from outside.
Players join but experience pauses or rubber-banding Server tick work, Java heap, database or scheduled tasks, or GMTOOL Correlate reports with server logs, LAG_THRESHOLD, saves, maintenance, and GM actions.
Only one player’s client cannot start or stay connected That player’s firewall, proxy, adapter, or outbound policy Allow outbound TCP 80 for startup downloads and TCP 3724 or 3723 for ongoing communication; test without a conflicting proxy or virtual adapter.

Have one player test from outside the host’s home network. A local test can succeed through hairpin NAT even when Internet players cannot, so a genuine external test is important.

Which ports does Wurm Unlimited use, and where should I open them?

Forward the documented game and Steam ports from the router to the host computer’s fixed LAN address, then permit the same traffic in the host firewall. Opening a port only on the computer does not create a route through a separate NAT router.

Purpose Protocol and port Where it must work
Wurm client communication TCP 3724 Router forward to the server host and an inbound host-firewall rule
Steam server queries and Internet discovery UDP 27016–27030 Router forwards the range to the host; host firewall permits the traffic
General Steam communication TCP and UDP 8766 Router and host firewall, when used by the server’s Steam communication

Set a stable destination before forwarding

  1. Give the server computer a DHCP reservation or another stable LAN address in the router.
  2. Create forwards for TCP 3724, UDP 27016–27030, and TCP/UDP 8766 to that address.
  3. On the host operating system, allow the corresponding inbound traffic for the Wurm server process or listening ports.
  4. Retest from a different Internet connection after saving the router configuration.

Do not publish remote-management or RMI ports to the Internet. In a multi-server setup, bind RMI services to a LAN or loopback address and keep them private; exposing them adds risk without helping normal player connections.

Can UPnP replace manual forwarding?

Automatic mapping can work on some home routers, but behavior varies by firmware and network topology. If Internet discovery remains unreliable, use explicit forwards and a reserved LAN address so the destination cannot silently change.

Why is my server visible on LAN but not on the Internet?

LAN visibility proves that the server is running and reachable locally; it does not prove that Steam queries can reach it through the router. Refresh the client first, then inspect the UDP query range, the router’s WAN-to-LAN rule, and the external address configured in the server.

Check Steam query traffic

Internet discovery depends on UDP 27016–27030. Forward the entire documented range unless your specific server configuration clearly narrows it, and ensure the host firewall allows inbound UDP rather than only TCP. A rule aimed at the wrong LAN address will look identical to a blocked port, so verify the router’s current client list.

Confirm the advertised external identity

Open the server settings and verify the external IP and port fields. They must describe the address that Internet players can reach, not a private address such as a 192.168.x.x or 10.x.x.x LAN address. If your public address changes, update the setting or use a stable hostname service that you control; the server still needs correctly forwarded ports.

Rule out adapter confusion

Virtual-machine and other extra network adapters can cause the server to bind to the wrong interface. Temporarily disable conflicting adapters during diagnosis, then restart the server and test discovery again. Re-enable them one at a time after the correct interface is established.

What should I check when players see “connection refused” or a timeout?

A refusal or timeout after the server appears in the list usually means TCP 3724 is not reaching the Wurm process, the host firewall rejects it, or the server advertises the wrong destination. Trace the path in this order so each change has a clear rollback.

  1. Verify the server is listening. Start the server and confirm its console or operating-system listener shows the configured game port. If it is not listening, fix startup or configuration before changing the router.
  2. Check the host firewall. Permit inbound TCP 3724 for the server application or port. Also check outbound rules if the host uses restrictive egress policies.
  3. Check the router forward. Confirm that TCP 3724 points to the current LAN address, not an old DHCP lease. Remove duplicate or stale rules that target another machine.
  4. Check external IP and port fields. The address and port in Wurm’s server settings must match the public endpoint players are using.
  5. Test externally. Ask a player on another connection to retry after the server and router have been restarted. A successful LAN connection alone is not evidence that the Internet path works.

If the server is behind two routers, carrier-grade NAT, or a building network you do not control, the first router may never receive an inbound connection. In that case, request a public IPv4 address or place the server on a network where you can configure the required forwarding.

How do I fix lag that starts after players log in?

Server lag is a long-running operation, not the same as a missing-listing problem. Use the server log to identify what was running when players reported a pause, then change one cause at a time.

Use LAG_THRESHOLD to find long operations

Wurmpedia defines LAG_THRESHOLD as the millisecond limit for logging long-running operations; its documented default is 1000 ms. Review the value in the server configuration, keep a backup before editing it, and correlate each logged operation’s timestamp with player reports. Lowering the threshold can make the log more verbose for diagnosis, but it does not by itself make an operation faster.

Correlate logs with scheduled work

Mark the times of world saves, database maintenance, backups, map operations, and other scheduled jobs. If long entries consistently coincide with one task, move that task outside peak play or reduce its scope where the server documentation permits. Do not disable data-protection steps merely to hide a pause.

Test GMTOOL activity

An official 1.9.2.7 announcement reported that searching for offline players with GMTOOL caused some particularly long lag spikes. During an active-play test, avoid offline-player searches and record whether the pauses stop. If the symptom disappears, schedule that administrative search for quiet periods rather than treating a hardware upgrade as the first fix.

Separate simulation lag from rendering lag

If every player reports delayed actions at the same moment, prioritize the server log and Java process. If only one player sees low frame rates while others continue normally, investigate that player’s graphics settings, local processes, and network path instead of changing server tick settings.

Could Java heap or the JVM path be causing the pauses?

Yes. A wrong Java runtime can prevent the server from starting, while an undersized or poorly matched heap can cause allocation pressure and pauses. Treat the values in the technical guide as examples, not universal performance settings.

Check LaunchConfig.ini safely

The documented example uses InitialHeap=512m and MaxHeapSize=1024m. Before editing, copy the file and note the current values. Compare the maximum heap with the host’s total memory and with other services sharing the machine; assigning nearly all physical memory to Java can make the operating system and database compete for RAM.

Fix a jvm.dll loading error

If the console reports that jvm.dll cannot load, use the Java-path override documented for your installation rather than guessing a path. Confirm that the selected Java architecture matches the server package, restart, and keep the prior configuration so you can roll back if startup fails.

What memory target is supported?

Steam lists 4 GB of RAM as a minimum and 8 GB as recommended for Wurm Unlimited. Those are platform requirements, not a guarantee for a particular player count or a promise that adding RAM will eliminate lag. Measure actual memory use, swap activity, and log timings before purchasing an upgrade.

How do I start a headless Linux server reliably?

For a Linux machine without a graphical desktop, select the server folder on startup with the documented Start=ServerFolderName option. This avoids relying on a GUI folder picker and makes the launch command suitable for a service or remote session.

  1. Stop any existing instance and back up the configuration.
  2. Set the Start value to the exact server-folder name used by the installation.
  3. Launch from the intended service account and capture console output to a log.
  4. Verify that the process binds to the expected LAN interface and ports before testing from the Internet.
  5. Keep the service’s restart policy conservative; repeated automatic restarts can obscure the original Java or database error.

If startup still fails, read the first console error rather than only the final “stopped” message. A bad Java path, inaccessible database directory, or permissions problem requires a different repair than a blocked network port.

What should I do when only one player cannot connect?

When everyone else can join, the server and router are probably functioning. Concentrate on that player’s outbound path and local security software.

  • Allow outbound TCP 80 so the client can obtain startup downloads.
  • Allow outbound TCP 3724 or 3723 for ongoing communication, according to the connection the client is attempting.
  • Temporarily test without a proxy, VPN, or restrictive endpoint firewall, then add a narrow exception instead of leaving protection disabled.
  • Disable an unused virtual-machine adapter during the test if the operating system is choosing the wrong route.
  • Try another network, such as a phone hotspot, to distinguish a home-router policy from a damaged game installation.

Record the exact client error and time. Matching it with the server log can show whether the connection reaches Wurm at all.

How do I back up before changing configuration or hosting?

Stop the server before copying its data. Hosting documentation identifies the db/ and maps/ directories as the critical data to preserve, and an SFTP backup made while the process is writing can be incomplete.

  1. Announce a maintenance window and stop the Wurm process cleanly.
  2. Copy the complete db/ and maps/ directories to storage separate from the host.
  3. Back up LaunchConfig.ini and other edited configuration files alongside the data.
  4. Record the server version, Java path, heap values, port forwards, and firewall changes.
  5. Verify that the backup can be read before performing database maintenance, migration, or a hosting move.

Keep at least one untouched backup until players have connected successfully after the change. A backup is a recovery path, not a substitute for diagnosing a recurring lag operation.

When is managed hosting preferable to self-hosting?

Managed hosting can be reasonable when you cannot control inbound ports, do not want to maintain backups, or need someone else to administer storage and restarts. It does not remove the need to describe the exact symptom and provide logs.

Remedy Symptom addressed Change location Rollback risk and burden
Router forwarding and firewall rules Discovery and refused or timed-out joins Router and host operating system Usually reversible, but incorrect exposure can create security risk; document each rule.
External IP, port, and interface correction Internet listing and unreachable advertised endpoint Wurm server configuration Low if the old file is backed up; a typo can prevent external joins.
Java path or heap adjustment Startup failures and memory-related pauses LaunchConfig.ini and Java installation Moderate; an invalid path or excessive heap can stop startup or starve the host.
GMTOOL and scheduled-work changes Server tick spikes Administrative workflow and maintenance schedule Low technical risk, but requires staff discipline and log correlation.
Managed hosting Port, storage, backup, and uptime administration Provider infrastructure Less day-to-day administration, but migration, pricing, and current compatibility must be checked before committing.

A new router, Ethernet cable, or RAM module is optional and should follow evidence. None substitutes for correct Wurm ports, a valid external address, or a server-side cause identified in the logs.

What should I send a host or administrator when troubleshooting fails?

Provide actionable evidence rather than a description such as “the server is laggy.” Include the server version, operating system, Java version and path, the exact symptom, whether LAN and Internet listings differ, the configured ports, and the time-stamped console or server-log lines surrounding the failure.

  • State whether the issue affects every player or only one.
  • List recent changes to router rules, firewall policy, Java, mods, databases, or hosting.
  • Include the public-IP and port settings with private credentials removed.
  • Say whether a player on a separate Internet connection reproduced the problem.
  • Attach a verified backup status for db/ and maps/ before requesting database work.

This lets an administrator distinguish a blocked network path from a long server operation and reduces the risk of destructive trial-and-error.

What is the safest order for a complete repair?

Follow this sequence and stop when the symptom is resolved.

  1. Classify the failure as discovery, refused or timed-out connection, server lag, or one-player client failure.
  2. Back up configuration, db/, and maps/ before maintenance.
  3. For discovery, verify UDP 27016–27030, router forwarding, host firewall direction, external IP fields, and conflicting adapters.
  4. For connection errors, verify TCP 3724, the router destination, inbound firewall rules, and the listening process.
  5. For lag, inspect LAG_THRESHOLD entries and correlate them with saves, database work, scheduled jobs, and GMTOOL searches.
  6. For startup or memory symptoms, validate the Java path and compare heap values with available RAM; Steam’s published baseline is 4 GB minimum and 8 GB recommended.
  7. For a single-player failure, test outbound TCP 80, TCP 3724 or 3723, local firewall and proxy rules, and another network.
  8. Retest from the same external location after each change and record the result.

Frequently Asked Questions

Can a server be reachable by IP even if it is missing from the Steam list?

Yes. Discovery and direct reachability use different traffic paths, so a missing query response does not prove that TCP game traffic is unavailable. Test the documented game endpoint from an outside network while separately repairing Steam query forwarding.

How can I tell whether my public IP is behind carrier-grade NAT?

Compare the router’s reported WAN address with the address shown by an independent Internet service. If they differ and you cannot configure an upstream modem or router, inbound forwarding may be impossible without a public address from the Internet provider.

Should I lower the LAG_THRESHOLD to make the server faster?

No. The setting controls which operations are logged, not how quickly they execute. A lower value can improve visibility during a short diagnostic session, after which you should restore a practical logging level.

What evidence proves a GMTOOL search is the trigger?

Run a controlled test during comparable player activity, record the exact search and timestamp, and compare the resulting log entries with a period in which the search is not performed. Avoid offline-player searches during normal play while collecting that evidence.

Can I restore a backup while the Wurm process is running?

Do not overwrite live database or map files while the server is active. Stop it cleanly, preserve the current files, restore the backup to a separate location first, and verify the restored instance before replacing production data.