Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
VGSources
Blog

How to Fix Desync and Lag on a Valheim Server

A practical Valheim dedicated-server troubleshooting guide covering Steam port 2456-2457, Crossplay relays, launch scripts, firewalls, CGNAT, logs, host load and controlled tests.
Length11 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Fix Valheim desync in this order: identify whether the server uses Steam or Crossplay, verify the matching network path, validate the launch script and firewall, inspect logs, and then measure host load and route quality. Steam-backend servers need the configured port and the next port reachable from the Internet; Crossplay uses a relay and does not need inbound router forwarding. Start with those facts before changing game files, installing mods, or applying operating-system tweaks.

What Valheim desync and lag actually look like

“Desync” describes a disagreement between the server’s authoritative world state and what one or more players see. The visible result can be rubber-banding, delayed interactions, creatures snapping to earlier positions, doors or chests taking several seconds to respond, or a brief freeze followed by a burst of movement. “Lag” is broader: it can come from Internet delay or packet loss, a server process that is busy, a saturated upload connection, or a single player’s local route.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Classify the symptom before changing a setting. The pattern does not prove a cause, but it determines which checks are sensible.

Everyone freezes or rubber-bands together

If every connected player sees the same pause at approximately the same time, suspect the server process, the host machine, or the network path between the host and the group. Check the host’s CPU, memory, disk activity and upload use while reproducing the hitch. A common event seen by all players is less likely to be caused by one person’s Wi-Fi or graphics settings.

#1 Best Overall
Sale
Gaoye Blue Light Blocking Glasses
  • BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
  • EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
  • COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
  • LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
  • WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.

Only one player has high latency

If one player is delayed while others continue normally, begin with that player’s route: Wi-Fi interference, local VPN or security software, a congested home connection, or an ISP path problem. Compare the same player from a wired connection or another network if possible. Do not open additional server ports solely because one client has a bad route.

The problem appears near one base or terraformed area

A hitch that occurs near a heavily built or extensively terraformed location points toward the simulation work required in that area or a host that is approaching its practical capacity. Reproduce the issue in an unbuilt area and note whether the timing changes. This comparison is a diagnostic observation, not a published performance threshold.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Identify the server backend first

Valheim’s network path depends on the backend selected in the dedicated-server launch configuration. Iron Gate’s dedicated-server guide documents both approaches.

Steam backend

With the Steam backend, players connect through the server’s reachable network address. Iron Gate documents a configured port and the immediately following port: the default pair is 2456 and 2457. Both must be accessible from the Internet. If you change the launch script to another starting port, the required pair becomes that port and port+1.

Rank #2
Windex Gaming Cleaning Wipes, Pre-Moistened Wipes to Instantly Clean all Gaming Gear and Electronics, Resealable Packaging for a Freshness Lock, 25 count (Pack of 1)
  • WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
  • AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
  • PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
  • ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
  • COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed

Crossplay backend

Iron Gate states in its Crossplay FAQ that Crossplay transmits data through a relay server and therefore does not require port forwarding to be accessible from outside the local network. You still need to allow the server application through the host firewall and maintain a stable connection from the host to the relay, but you should not create inbound router rules merely to make Crossplay work.

Use a backend switch as a controlled test

Record when the hitch occurs, who experiences it, and which world area is involved. Schedule a restart when the group can tolerate an interruption, change only the backend setting, and repeat the same activity. Improvement after a backend change demonstrates that the network path changed; it does not establish that Crossplay is universally faster or that Steam is inherently faulty. Restore the previous configuration if the test introduces connection problems.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Steam backend: verify the two required ports

Port forwarding fixes only an unreachable inbound path. It cannot correct a saturated upload link, a stalled server process, or a single player’s poor route. Work through the checks in this order so that each layer is consistent.

  1. Read the launch script. Open the supplied Windows or Linux server script and find the configured -port value. If it remains at the documented default, the pair is 2456-2457. If it is set to another number, use that number and the next consecutive port. Do not add a third port from habit; the documented requirement is the configured port and port+1.
  2. Match the router rule to the script. In the router’s port-forwarding page, create rules for both ports and point them to the host machine’s current local IP address. Choose the protocol options offered by the router that match the dedicated-server documentation, and reserve the host’s local address so the rule does not silently point to a different device after a reboot.
  3. Allow the server through the host firewall. Permit the dedicated-server executable or the two configured ports in the operating system firewall. Check both the active network profile and any security suite that can apply a second firewall. A router rule cannot bypass a blocked host firewall.
  4. Check for an upstream NAT barrier. Cable or fiber equipment may sit in front of a second router, creating double NAT. Carrier-grade NAT (CGNAT) can also prevent unsolicited inbound connections even when your own router appears correctly configured. If the router’s Internet-facing address is private or differs from the address shown by your ISP account, ask the ISP whether CGNAT or an upstream gateway is involved. Port forwarding on the inner router cannot solve a forwarding rule that never reaches it.
  5. Confirm the server reached its connected state. Watch the dedicated-server console for the “Game server connected” message described in Iron Gate’s guide. A missing message, repeated startup error, or immediate disconnect means you should resolve the launch or network error before testing in-game rubber-banding.

Iron Gate’s guide also explains that the original launch file can be replaced during a Steam update. Keep a copy of your edited script and recheck its -port value after updates; a reset to the default can make the router rule and the running server disagree.

Rank #3
Sale
LISEN Cell Phone Stand Phone Holder for Desk, Office Decor Gadgets for Men
  • Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
  • Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
  • Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
  • ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
  • Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)

Crossplay: what the relay changes

Crossplay is useful when the host cannot accept inbound connections, when players are on different platform ecosystems, or when router administration is unavailable. The relay removes the need for an Internet-facing port-forwarding rule, so an unopenable home router is not by itself a reason to abandon a Crossplay configuration.

A relay is not a guarantee of lower latency. The route now includes the relay service and its location relative to the host and players. Compare the same reproducible activity after a planned backend switch rather than judging from one short session. If Crossplay connects but still freezes for everyone, continue with host-load, firewall, log and uplink checks; the absence of port forwarding does not eliminate those causes.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Validate the launch script before touching the game installation

The supplied launch script is the supported control point for a dedicated server on Windows or Linux. Iron Gate’s guide describes configuring the server through that script. Make a backup copy before editing it, because updates can restore the original file.

Check the arguments that affect diagnosis

  • Confirm the backend selection is the one you intend to test.
  • Confirm the -port value and derive the second required port from it.
  • Confirm that the world name, save location and server identity are unchanged so a backend test does not accidentally start a different world.
  • Add a logfile argument when collecting evidence. The Valheim Dedicated Server Help FAQ documents -logfile as a way to capture server output.

Change one argument at a time, restart cleanly, and record the result. Editing several values at once removes the comparison that tells you which change mattered.

Rank #4
Ledagic IC+RGBW USB Powered Led Light Bar with App & Remote Control, 2 Pack
  • Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
  • Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
  • 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
  • Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
  • USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC

Read logs and remove network-interfering software one change at a time

Use the logfile option while reproducing the issue, then correlate timestamps with what players saw: startup, connection, save, warning and disconnect entries are more useful when you know the exact minute of the hitch. Keep the original log and a copy of the launch script before making changes.

The Valheim Dedicated Server Help FAQ calls out software that can modify or prioritize traffic, including Killer Network Manager, ASUS GameFirst VI and Lenovo Vantage Network Boost. Treat these programs as suspects, not proven causes. Disable one suspected optimizer at a time, restart the affected software if necessary, reproduce the same scenario, and record whether the symptom changed. Re-enable it when the test is complete if it was not responsible.

Apply the same discipline to VPN clients, traffic shapers, third-party firewalls and “gaming” network modes. A diagnostic result is meaningful only when the world, players and activity are comparable between runs.

Separate server workload from Internet delay

Observe the host while the group reproduces the hitch. Record CPU utilization, memory pressure, disk activity and upload saturation rather than relying on how the game feels from one client.

Best Value
Sale
HUANUO FlowLift™ Dual Monitor Stand, Fully Adjustable Gaming Monitor Desk Mount for 13–32″ Computer Screens, Full Motion VESA 75x75/100x100 with C-Clamp & Grommet Base, Each Arm Holds 4.4 to 19.8 lbs
  • Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
  • Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
  • Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
  • Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
  • Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.

Signs of a host-side stall

  • All players pause together, including those on different networks.
  • The server process shows a CPU or disk spike at the same timestamp as the freeze.
  • The delay is concentrated in a large base, a dense construction area or a heavily terraformed region.
  • The console or logfile stops producing normal activity during the event.

Reduce unrelated work on the host, close backup or synchronization jobs that compete for disk and upload capacity, and test again. If the process continues to stall locally, moving the world to a machine or managed service with a more reliable power, storage and Internet connection may help. The official documentation does not publish a universal CPU, RAM, upload-speed or player-count requirement, so no single hardware number can certify that a server will be free of desync.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Signs of route or packet problems

  • Only one player, or one geographic group, sees the delay.
  • The host’s resource use remains normal while the affected player’s connection fluctuates.
  • Changing from Wi-Fi to wired Ethernet or using another Internet connection changes the symptom.
  • The issue follows a player rather than a particular world location.

In this case, investigate the player’s local network and ISP route, and compare the server from another location. Relocating the server can help when the route is poor; upgrading host CPU will not repair packet loss between a player and the server.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Self-hosting versus managed hosting

A home server is not automatically worse than a rented one. The relevant question is whether you can maintain the network path, host reliability and operational tasks your group needs.

Option Port-forwarding requirement Platform compatibility Control over files, mods and updates Reliability and recovery Cost and maintenance
Home self-hosting with Steam backend Required for the configured port and port+1; inbound forwarding can be blocked by CGNAT or upstream NAT. Depends on the backend and the players’ supported platforms. Highest control over scripts, world files, mods and update timing. Depends on your power, router and Internet connection; you handle restarts, backups and troubleshooting. No separate hosting bill is established here; you supply hardware, bandwidth and maintenance.
Home self-hosting with Crossplay Inbound router forwarding is not required because traffic uses a relay. Designed for Crossplay-supported platform combinations. Control remains local, subject to the game’s supported configuration. Still depends on the host machine and its outbound connection; you handle recovery. No separate hosting bill is established here; maintenance remains your responsibility.
Managed Valheim host The provider supplies the external network setup; exact requirements vary by service. Check the provider’s current platform and Crossplay support. Usually includes a control panel, but file, mod and update access varies by provider. Provider power and connectivity can be more consistent, while backups, restart tools and log access vary. Recurring pricing, locations, cancellation terms and included backups vary; verify them before purchase.

Choose self-hosting when you need direct file access, custom scripts and full control and can keep the machine reachable and maintained. Choose a managed service when router restrictions, unreliable household power or limited administration time are the dominant problems. A provider is not a cure for a poorly configured world or a player-side route; confirm that you can inspect logs, restart quickly, restore backups and use the mods your group actually needs.

Mods, executable patches and registry tweaks are last resorts

Changing mods, patching the executable, editing registry values or applying undocumented network tweaks can alter timing and connectivity, but the cited official and community sources do not establish any of these as universal desync fixes. Such changes also make later diagnosis harder by adding variables.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If you must test one, back up the world and launch script, document the exact change, test with the same players and activity, and keep a rollback path. Remove the change if it does not produce a repeatable improvement. Never use an unverified patch on the only copy of a world.

A repeatable troubleshooting workflow

  1. Write down the symptom. Note the time, players affected, world location, backend, host resource use and any console warning.
  2. Classify the scope. Decide whether the event affects everyone, one player or one area.
  3. Identify the backend. Read the launch script rather than guessing from how players connect.
  4. Validate networking for that backend. For Steam, verify the configured port and port+1, router forwarding, firewall permission and the absence of CGNAT or double NAT. For Crossplay, remove unnecessary inbound forwarding from the diagnosis and verify outbound connectivity and firewall permission.
  5. Confirm startup. Look for “Game server connected” and capture a logfile when needed.
  6. Test interference. Disable one traffic optimizer or VPN-related component, reproduce, and record the result.
  7. Measure the host. Compare CPU, memory, disk and upload activity during a hitch and during a normal period.
  8. Run a controlled backend comparison. Change only Steam versus Crossplay, restart, and repeat the same activity if the group can tolerate the interruption.
  9. Escalate deliberately. If the host is the bottleneck, improve the machine or move the server. If the route is the bottleneck, test another network or server location. Only after these checks should you experiment with mods or undocumented system changes.

Maintenance that prevents a recurrence

  • Keep a backup of the edited launch script because Steam updates can reset the original.
  • Back up the world before changing backend settings, mods or executable files.
  • After every game or server update, recheck the backend, -port value, firewall rule and router destination.
  • Keep a short incident log with timestamps, affected players, location and host resource readings.
  • Schedule restarts and backups rather than waiting for a severe freeze to force them.
  • Review traffic-optimizer, VPN and third-party firewall updates when a previously stable server begins rubber-banding.

The fastest reliable fix is usually a configuration correction: use the right backend, make the exact Steam port pair reachable when Steam is selected, or stop trying to forward ports when Crossplay is selected. Logs and host measurements then tell you whether the remaining problem is the machine, the route or one client.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.