Steam Networking Without Relays Is Broken in UE5.6

I’m using UE5.6 with Steam Sockets net driver and plugin and Advanced Steam Sessions.
The client latency when connected without relays is 27ms in UE5.1 compared to 150ms when connected using steam’s best relay server using Steam Datagram Relay in UE5.6.

I want to connect using listen server (peer to peer) in UE5.6 without relays but it’s impossible.

In UE5.1 I was using the net driver from OnlineSubsystemSteam and it worked greatly without any relaying, In UE5.6 code was moved to SocketSubsystemSteamIP so I used it instead of Steam Socket but it’s now broken, I believe this is the commit that broke it: GitHub Commit
My same exact code works in UE5.1 normally.

In UE5.6 how can I connect without relays?

When using Steam Sockets and setting bAllowP2PPacketRelay=false it doesn’t connect and I get “LogNet: Error: SteamSockets: Could not determine the binding address!”

Error when using SocketSubsystemSteamIP and trying to connect to a session:

[2025.12.10-14.35.23:836][162]LogNet: Display: SteamNetDriver_2147482444 bound to port 7777
[2025.12.10-14.35.23:836][162]LogNet: IpConnection_2147482381 setting maximum channels to: 32767
[2025.12.10-14.35.23:836][162]PacketHandlerLog: Loaded PacketHandler component: OnlineSubsystemSteam.SteamAuthComponentModuleInterface ()
[2025.12.10-14.35.23:837][162]PacketHandlerLog: Loaded PacketHandler component: Engine.EngineHandlerComponentFactory (StatelessConnectHandlerComponent)
[2025.12.10-14.35.23:838][162]LogHandshake: Stateless Handshake: NetDriverDefinition ‘GameNetDriver’ CachedClientID: 1
[2025.12.10-14.35.23:838][162]LogNet: Game client on port 7777, rate 100000
[2025.12.10-14.35.23:838][162]LogNetTraffic: Created channel 0 of type Control
[2025.12.10-14.35.23:838][162]LogNetTraffic: Created channel 1 of type Voice
[2025.12.10-14.35.23:838][162]LogNetTraffic: Created channel 2 of type DataStream
[2025.12.10-14.35.23:838][162]LogNetVersion: MyProject 1.0.0.0, NetCL: 43139311, EngineNetworkVersion: 42, GameNetworkVersion: 0 (Checksum: 3281156304)
[2025.12.10-14.35.23:842][163]LogNet: Error: Unable to find a binding socket for the resolve address result 76561199226895627:7777
[2025.12.10-14.35.23:849][164]LogNet: Warning: Encountered an error, cleaning up this connection now
[2025.12.10-14.35.23:858][165]LogNet: Error: UEngine::BroadcastNetworkFailure: FailureType = PendingConnectionFailure, ErrorString = Your connection to the host has been lost., Driver = Name:PendingNetDriver Def:GameNetDriver SteamNetDriver_2147482444
[2025.12.10-14.35.23:858][165]LogNet: Warning: Network Failure: PendingNetDriver[PendingConnectionFailure]: Your connection to the host has been lost.
[2025.12.10-14.35.23:859][165]LogNet: NetworkFailure: PendingConnectionFailure, Error: ‘Your connection to the host has been lost.

My DefaultEngine.ini

[/Script/Engine.GameEngine]
!NetDriverDefinitions=ClearArray
+NetDriverDefinitions=(DefName=“GameNetDriver”,DriverClassName=“/Script/SocketSubsystemSteamIP.SteamNetDriver”,DriverClassNameFallback=“/Script/SocketSubsystemSteamIP.SteamNetDriver”)
;+NetDriverDefinitions=(DefName=“GameNetDriver”,DriverClassName=“/Script/SteamSockets.SteamSocketsNetDriver”,DriverClassNameFallback=“/Script/SteamSockets.SteamNetSocketsNetDriver”)

[OnlineSubsystem]
DefaultPlatformService=Steam

[OnlineSubsystemSteam]
bEnabled=true
SteamDevAppId=480

[PacketHandlerComponents]
+Components=OnlineSubsystemSteam.SteamAuthComponentModuleInterface

; If using Sessions
; bInitServerOnClient=true

[/Script/OnlineSubsystemSteam.SteamNetDriver]
;NetConnectionClassName=“SteamSockets.SteamSocketsNetConnection”
;NetConnectionClassName=“/Script/SteamSockets.SteamSocketsNetConnection”
NetConnectionClassName=“/Script/SocketSubsystemSteamIP.SteamNetConnection”
;NetConnectionClassName=“OnlineSubsystemSteam.SteamNetConnection”