Fix PS4 error NW-31456-9

Connection error. (NW-31456-9)

Affects: PS4 consoles (Sony's error-code documentation); the same checks apply to a PS5 that cannot reach PlayStation services

What this message means

Sony's page defines the code in two lines: "Connection error." and "The system can't connect to either PlayStation® or the game server." [1]. The distinguishing feature of this code, compared with the DNS-specific NW-31xxx codes, is scope: it fires when the console is on the network but cannot establish a usable session with the PlayStation services or a specific game's servers. Sony's own fix list therefore starts above the console - check that PlayStation services are available, check the game's official website for maintenance or heavy traffic, and only then wait out a short-term issue [1]. With a Smart DNS subscription in place, there is one additional suspect: the resolver your console now uses.

Fix it step by step

Cause 1: PlayStation services or the game server are down

Sony's first two steps check exactly this: services on the PlayStation side, then the game's official channels for maintenance or high traffic [1]. When the outage is on Sony's or the publisher's side, nothing on your console matters, and this is the most common cause of a code that appears suddenly on an untouched setup.

Fix:

  1. Open Sony's PlayStation status page - Sony's own fix page links to it for this code [1].
  2. If services are healthy there, check the game publisher's status page or official channels.
  3. If both report an outage or maintenance, wait it out and retry later - Sony explicitly frames this as a short-term issue to retry [1].

No console change is needed while the servers are down; do not touch your DNS values in this window, or you will be debugging two things at once.

Cause 2: Your Smart DNS resolver is unhealthy or your IP is unregistered

With manual DNS in place, the console resolves PlayStation endpoints through the provider. If the resolver is degraded, or your household IP is not registered so the provider answers slowly or not at all, sessions to PlayStation and game servers fail in ways that look like this code. Provider documentation is candid about console quirks - Smart DNS Proxy's PS4 guide suggests testing the connection on a PC first because some services may not work properly on the PS4 [2] - and about the registration dependency: the service stops working whenever the console or router IP changes until you update it in your account [2].

Fix:

  1. Open the provider's account page on the same network and confirm your current IP is registered; trigger the update if not.
  2. Check the provider's status page for an ongoing incident.
  3. Restart the console - the provider walkthroughs make the restart a mandatory step after any DNS work [3] - and retest.

If a PC on the same network reaches the same service fine while the console does not, note the difference and keep it in mind for the next cause.

Cause 3: Name resolution for PlayStation hosts fails only on the console

When the status pages are green and the provider is healthy, compare devices. A console that cannot reach PlayStation while a laptop on the same network can has a device-local cause - a stale DNS value, a half-saved Custom flow, or an MTU value left from an old experiment. Provider walkthroughs keep MTU on Automatic and the proxy unused for a reason [3].

Fix:

  1. Run Settings > Network > Test Internet Connection and note which rows fail.
  2. Re-enter the Custom flow, confirm IP Address Settings on Automatic, DHCP Host Name on Do Not Specify, DNS Settings on Manual with the provider's current addresses, and MTU on Automatic.
  3. Restart the console and test again; if a laptop reaches the same game while the console does not, the values above are the difference.

The full wizard is Steps 1-7 of the PS4 DNS guide.

Cause 4: The route between you and the server is blocked or overloaded

Some ISPs and networks throttle or filter gaming traffic, and game-server routes can degrade independently of everything else. When the status pages are green, the console settings are verified and the failure persists, the remaining suspects sit above the console: the line, the route, or the server side. No settings change fixes a congested path.

Fix:

  1. Test the same game or service at a different hour; route congestion is often time-dependent.
  2. If your router offers QoS or traffic filtering, disable it temporarily.
  3. If the failure persists across days, contact your internet provider with the code and the test results - Sony's own guidance for this code ends at retrying after short-term issues [1].

If nothing helps

Set DNS Settings back to Automatic in the Custom flow (the undo section of the PS4 DNS guide) and retest with the router-assigned resolvers. If the router resolver shows the same connection error, the cause sits above the console - PlayStation status, the game server, or your line - and the DNS change was never part of the problem. If the router resolver works, put your Smart DNS values back in, re-register the IP, and give the provider's support the exact failure window. Sony's own ladder for this code stops at waiting out short-term issues [1]; everything beyond that is provider or line work.

FAQ

Does NW-31456-9 mean my DNS is broken?

Not necessarily. Sony defines this code as the console failing to reach PlayStation or the game server [1] - that can be a service outage, a game-server problem, or name resolution failing for those specific hosts. Check the PlayStation status page first, as Sony's own steps do.

Can a Smart DNS service cause this code?

It can contribute. A Smart DNS provider reroutes name resolution for selected streaming domains, and provider guides openly warn that some services may not work properly on a console and suggest testing on a PC first [2]. If the resolver is unhealthy or your IP is unregistered, PlayStation traffic can suffer with it.

Should I remove the DNS change to test?

Yes - it is the fastest way to isolate the cause. Set DNS Settings back to Automatic in the Custom flow, retest, and put the values back afterwards if the router resolver shows the same error. The undo section of the PS4 DNS guide walks it.

Setting up DNS on this device?

Open the setup guide → All PlayStation guides

Sources

  1. PlayStation Support - PS4 error code NW-31456-9 - accessed 2026-11-23
  2. Smart DNS Proxy - PS4 DNS Setup for Smart DNS Proxy - accessed 2026-11-23
  3. Smart DNS Proxy - PS5 DNS Setup for Smart DNS Proxy - accessed 2026-11-23