October DealsAmazon USOctober deal check: compare before you payAmazon 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 NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
VGSources
Error Codes

How to Fix NW-31204-0 on PS4—and What PS5 Users Should Do

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

NW-31204-0 means the console could not connect to the network. Sony documents this exact code as a PS4 error, not a current native PS5 code. On PS4, start by checking PlayStation Network status, run the built-in connection test, restart the console and network equipment, and compare Wi-Fi with Ethernet. If a PS5 displays similar wording, verify its exact code and use the PS5-specific troubleshooting path.

Official references: Sony’s NW-31204-0 page, the PS4 error-code directory, and the PlayStation error-code hub.

What NW-31204-0 means

Sony’s definition is simply: “There was an error connecting to the network.” It is a broad connection failure, not proof that one particular part is broken. Possible directions include a temporary PSN outage, an unavailable internet service, router or modem trouble, weak or interfered Wi-Fi, DHCP/IP-assignment problems, router filtering, ISP restrictions, or a console network-configuration issue.

The code alone cannot distinguish those causes. The connection test and a comparison with other devices provide the useful evidence.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sony PlayStation 4 500GB Console (Renewed)
  • "Suspend mode" eliminates the load time on your saved game and allows you to immediately return to where you left off by pressing the power button.
  • Enables the greatest game developers in the world to unlock their creativity and push the boundaries of play through a platform that is tuned specifically to their needs.
  • Engage in endless personal challenges between you and your community, and share your epic moments for the world to see.
  • Gamers can share their epic triumphs by hitting the "SHARE button" on the controller, scan through the last few minutes of gameplay, tag it and return to the game.

Is NW-31204-0 a PS4 or PS5 error?

The official code page and directory place NW-31204-0 under PS4. Sony’s current PS5 listings use different code families; they do not identify NW-31204-0 as a PS5-specific code. A PS5 owner should recheck the characters on screen and use the exact PS5 code’s support page if one is shown.

For a PS5, the general test is Settings > Network > Connection Status > Test Internet Connection. Sony’s PS5 support resources are at playstation.com/en-us/support/hardware/ps5/ and its PS5 error directory at playstation.com/en-us/support/error-codes/.

Quickest safe troubleshooting sequence

  1. Check the official PlayStation Network status page.
  2. Check whether another phone, computer, or streaming device on the same network reaches the internet.
  3. Run the console’s connection test.
  4. Restart the console.
  5. Power-cycle the modem and router, leaving them off for at least five minutes.
  6. Try a temporary wired Ethernet connection.
  7. Recreate the saved Wi-Fi connection if wireless remains the only failure.
  8. Only then investigate firmware, filtering, DNS, NAT, or port configuration.

This order avoids changing advanced settings while a service outage or simple Wi-Fi problem is still possible.

Run the correct connection test

PS4

Open Settings > Network > Test Internet Connection. Record whether the PS4 obtained an IP address, reached the internet, signed in to PlayStation Network, and what NAT type and download/upload results it reports when available.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Sony PlayStation 4 Slim Limited Edition 1TB Gaming Console (Renewed)
  • Incredible games; Endless entertainment.
  • All new lighter slimmer PS4
  • 1 TB hard drive
  • Blu-ray technology, delivers exceptional video quality.
  • Redefine your gaming expectations and immerse yourself in moments so intense your intuition takes over.

PS5

Open Settings > Network > Connection Status > Test Internet Connection. Record the same results and the exact error code. A failed line narrows the investigation but does not, by itself, identify the failed component.

Restart the console, modem, and router correctly

  1. Turn off the PS4 or PS5 completely.
  2. Turn off the modem and router.
  3. Leave both network devices powered off for at least five minutes, matching Sony’s PS4 instruction.
  4. Power on the modem and wait until its internet connection is restored.
  5. Power on the router and wait for Wi-Fi or LAN service.
  6. Start the console and run the connection test again.

This is a full power cycle, not merely pressing a router’s Wi-Fi button. It temporarily disconnects every device in the home but does not factory-reset the router.

If Wi-Fi is the differentiating factor

  • Move the console closer to the main router and remove practical obstructions or nearby interference. Sony specifically recommends this for the PS4.
  • If the router offers both bands, test its 2.4 GHz and 5 GHz networks. This is a diagnostic comparison, not a guaranteed cure: 2.4 GHz generally travels farther, while 5 GHz can be faster at short range.
  • Avoid testing through an overloaded extender or mesh node when a direct router connection is available.
  • On the console, delete or forget the saved wireless network and set it up again using the router’s normal automatic settings.
  • Connect by Ethernet for a comparison test.

If Ethernet works while Wi-Fi fails, concentrate on signal strength, interference, band selection, mesh/extender behavior, or router wireless settings rather than replacing the console.

Use Ethernet as an isolation test

Connect the console directly to the router with a known-good LAN cable, then rerun the internet test. A successful wired test points toward wireless conditions or configuration. Failure over both Ethernet and Wi-Fi shifts attention to the router, ISP, PSN status, account sign-in, filtering, or the console’s network setup. Sony recommends trying a wired connection when possible.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
PlayStation 4 Console - 1TB Slim Edition (Renewed)
  • Includes a new slim 1TB PlayStation 4 system, a matching DualShock 4 Wireless Controller.
  • Play online with your friends, save games online and more with PlayStation Plus membership (sold separately).
  • All the greatest, games, TV, music and more. Connect with your friends to broadcast and celebrate your epic moments at the press of the Share button to Twitch, YouTube, Facebook and Twitter.
  • Mount is not included

Recreate the network connection

Set up the connection again from the console’s network settings, initially choosing the normal automatic options supplied by the router. Do not guess a static IP address, gateway, subnet mask, MTU, proxy, or DNS value. If a managed network requires a fixed address, reserve that address in the router or obtain the values from its administrator.

Custom setup can be useful for a known DHCP, DNS, MTU, or proxy requirement, but Sony’s NW-31204-0 page does not prescribe a universal DNS or MTU value. Claims that one public DNS server always fixes this code are not established by Sony’s guidance.

Router firmware, filtering, and ports

Update firmware carefully

Sony recommends updating the router to its latest firmware and consulting the manufacturer for the model-specific procedure. Firmware can improve compatibility and stability, but some updates alter settings. Record the current configuration and download firmware only from the manufacturer or ISP.

Consider filtering and NAT

Parental controls, firewall rules, carrier-grade NAT, ISP filtering, and restrictive guest networks can prevent gaming traffic. Router menus differ by model, so use the manufacturer’s or ISP’s documentation rather than generic screenshots.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
PlayStation 4 Slim 1TB Console
  • Incredible games. Endless entertainment.
  • All new lighter slimmer PS4
  • 1TB hard drive
  • All the greatest, games, TV, music and more

Port forwarding is a last resort

Sony lists these ports on its PS4 NW-31204-0 page:

Protocol Ports
TCP 80, 443, 3478, 3479, 3480
UDP 3478, 3479, 49152–65535

These are official PS4 guidance, not proof that the same code applies to PS5. Port forwarding is optional advanced work, not a default fix: it requires a stable local address, differs by router, can create maintenance and security complications, and may be impossible on hotel, school, workplace, or carrier-grade-NAT connections. Do not put the console in a DMZ as a casual shortcut.

Use the result to locate the fault

Observed result Most useful direction
Every device is offline Modem, router, or ISP connection
Only the console’s Wi-Fi fails Wireless signal, interference, band, mesh, or Wi-Fi configuration
Ethernet works but Wi-Fi fails Wireless path rather than console hardware in general
Internet works but PSN sign-in fails PSN status, account sign-in, NAT, filtering, or ISP restrictions
Only one game fails Game publisher service, game update, or application data
Status page reports an incident Wait for restoration instead of repeatedly changing router settings

Check PSN and game services before changing settings

Visit status.playstation.com before making advanced changes. During an outage or maintenance window, local resets cannot repair Sony’s service; wait and try again later. If only one game is affected, check that publisher’s service page, update the game, restart it, and test another online game or PlayStation service.

A console that connects successfully but cannot use one application does not, by itself, indicate a defective console. Sony’s update guidance also recommends testing the connection, restarting the console, installing current system software, and checking or reinstalling the affected application: PlayStation system software and application version support.

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

Public, hotel, school, and work networks

Captive portals and managed networks may require browser authentication or administrator approval. Gaming ports may be blocked, and port forwarding is generally unavailable. A phone hotspot can provide a short diagnostic comparison, but data limits, NAT restrictions, and unstable latency make it unsuitable as a guaranteed permanent gaming connection.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Playstation SONY 4, 500GB Slim System [CUH-2215AB01], Black, 3003347 (Renewed)
  • Includes a slim 500GB PlayStation4 system, a matching DualShock 4 Wireless Controller, Power Cord and HDMI Cable.
  • Play online with your friends, get free games, save games online and more with PlayStation Plus membership (sold separately).
  • All the greatest, games, TV, music and more. Connect with your friends to broadcast and celebrate your epic moments at the press of the Share button to Twitch, YouTube, Facebook and Twitter.

When to contact support

  • Contact your ISP or network administrator when other household devices are offline, the router cannot obtain service, firmware or filtering is involved, or a public/managed network blocks gaming traffic.
  • Contact PlayStation Support when other devices work, Ethernet and Wi-Fi comparisons do not reveal a network-side cause, PSN is available, and the console repeatedly fails its test. Have the exact code, test results, NAT type, connection method, and steps already attempted ready.

Do not factory-reset the console or use Safe Mode merely because NW-31204-0 appears; those actions risk data or settings and are disproportionate unless separate evidence points to a broader system problem.

System and network settings worth recording

On PS4, system details are under Settings > System > System Information. On PS5, system updates are under Settings > System > System Software > System Software Update and Settings. Record software version, connection method, NAT type, and test results before changing router or custom network settings; this makes rollback and support diagnosis easier.

Frequently Asked Questions

Is NW-31204-0 a PS5 error?

Sony currently documents NW-31204-0 under PS4. On PS5, verify the exact code shown and use the matching PS5 support page.

Does changing DNS fix this code?

It is an optional diagnostic for a known name-resolution problem, not a Sony-prescribed universal fix. Recreate the connection with automatic settings first.

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.

Should I open every listed port?

No. Port forwarding is an advanced, last-resort PS4 step that depends on the router, a stable local address, and network policy; it can add security and maintenance risks.

Why does Ethernet work when Wi-Fi does not?

That comparison points toward wireless signal, interference, band selection, mesh/extender behavior, or router Wi-Fi settings rather than a general loss of console networking.

Does the code prove my console is broken?

No. It only reports a network-connection error. PSN status, other devices, Ethernet, and the connection-test results are needed to separate service, network, and console causes.

Quick Recap

Bestseller No. 2
Sony PlayStation 4 Slim Limited Edition 1TB Gaming Console (Renewed)
Sony PlayStation 4 Slim Limited Edition 1TB Gaming Console (Renewed)
Incredible games; Endless entertainment.; All new lighter slimmer PS4; 1 TB hard drive; Blu-ray technology, delivers exceptional video quality.
$179.99
Bestseller No. 3
PlayStation 4 Console - 1TB Slim Edition (Renewed)
PlayStation 4 Console - 1TB Slim Edition (Renewed)
Includes a new slim 1TB PlayStation 4 system, a matching DualShock 4 Wireless Controller.; Mount is not included
$199.99
Bestseller No. 4
PlayStation 4 Slim 1TB Console
PlayStation 4 Slim 1TB Console
Incredible games. Endless entertainment.; All new lighter slimmer PS4; 1TB hard drive; All the greatest, games, TV, music and more
$194.99

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.

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

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.

Read next

Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
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.