steamsockets: binding to port 7777 failed.

I know there are other questions on here, none of the answers have worked. I have a BP only project. Set up steam per Rama’s tutorial. defaultengine.ini has:

[/Script/Engine.GameEngine]
!NetDriverDefinitions=ClearArray
+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="/Script/OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="/Script/OnlineSubsystemUtils.IpNetDriver")
 
[OnlineSubsystem]
DefaultPlatformService=Steam
PollingIntervalInMs=20
 
[OnlineSubsystemSteam]
bEnabled=true
SteamDevAppId=480
GameServerQueryPort=27015
bRelaunchInSteam=false
GameVersion=1.0.0.0
bVACEnabled=1
bAllowP2PPacketRelay=true
P2PConnectionTimeout=90
 
[/Script/OnlineSubsystemSteam.SteamNetDriver]
NetConnectionClassName="/Script/OnlineSubsystemSteam.SteamNetConnection"

The DLL’s are already in the right directory (seems you all started adding that into engine distributions), v132 the most recent version.

I can package the program, and when it runs I get the steam overlay in the bottom right, shift-tab opens it. So steam is working, to some extent.

When I create a session, it fails with a ‘net driver listen error’. Looking in the logs I find:

[2015.09.20-02.44.45:576][276]LogAIModule: Creating AISystem for world Abandoned
[2015.09.20-02.44.45:576][276]LogWorld: Game class is 'L_Deathmatch_C'
[2015.09.20-02.44.45:576][276]LogInit: SteamSockets: Socket queue 131072 / 131072
[2015.09.20-02.44.45:576][276]LogNet:Warning: Failed to init net driver ListenURL: /Game/Maps/Abandoned?listen?game=DM: SteamSockets: binding to port 7777 failed (0)
[2015.09.20-02.44.45:576][276]LogNet:Warning: Network Failure: GameNetDriver[NetDriverListenFailure]: SteamSockets: binding to port 7777 failed (0)
[2015.09.20-02.44.45:576][276]LogNet: NetworkFailure: NetDriverListenFailure, Error: 'SteamSockets: binding to port 7777 failed (0)'
[2015.09.20-02.44.45:577][276]LogWorld: Failed to listen: SteamSockets: binding to port 7777 failed (0)
[2015.09.20-02.44.45:577][276]LogNet:Error: LoadMap: failed to Listen(/Game/Maps/Abandoned?listen?game=DM)
[2015.09.20-02.44.45:580][276]LogWorld: Bringing World /Game/Maps/Abandoned.Abandoned up for play (max tick rate 0) at 2015.09.19-19.44.45
[2015.09.20-02.44.45:580][276]LogWorld: Bringing up level for play took: 0.002452
[2015.09.20-02.44.45:581][276]LogOnline:Warning: STEAM: Can't start an online session (Game) in state InProgress
[2015.09.20-02.44.45:591][277]LogNet: Browse: /Game/Maps/Menus?closed
[2015.09.20-02.44.45:591][277]LogNet: Failed; returning to Entry
[2015.09.20-02.44.45:638][277]LogLoad: LoadMap: /Game/Maps/Menus?closed

So it is not binding to port 7777. All other advice I saw for this (what little is out there), says it is the ini file that needs changed, I think those are old answers, my INI seems to be where it should, AND the overlay comes up…

Any ideas?

I think I must have a similar issue, I get the overlay and didn’t get any errors when packaging the game. I can also host a game, the problem is my game cant be found using hte find sessions node unless I port forward. I have done this so I can host games fine however it is a bit much to ask everyone to port forward in order to host a game so I need to fix this.

I assume the problem is to do with steam’s NAT punching not being enabled or something, however I don’t know how I would fix this. Any ideas?

I"m also currently facing this issue? Any response from anyone else? or did you manage to solve the problem?

I am facing the same Issue. Anyone?

I fixed it by replacing the commands I had in the DefaultEngine.ini with these updated ones:

Had the same bug.
Fix was int the DefaultEngine.ini
change
[/Script/Engine.Engine]
to
[/Script/Engine.GameEngine]

I am surprised that this issue of [/Script/Engine.Engine] to [/Script/Engine.GameEngine] still exist in new 4.25 version as well… Amazing… un-believable.