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:
[code] [/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=184.108.40.206 bVACEnabled=1 bAllowP2PPacketRelay=true P2PConnectionTimeout=90
[/Script/OnlineSubsystemSteam.SteamNetDriver] NetConnectionClassName="/Script/OnlineSubsystemSteam.SteamNetConnection" [/code]
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:
[code] [2015.09.20-02.44.45:576]LogAIModule: Creating AISystem for world Abandoned [2015.09.20-02.44.45:576]LogWorld: Game class is 'L_Deathmatch_C' [2015.09.20-02.44.45:576]LogInit: SteamSockets: Socket queue 131072 / 131072 [2015.09.20-02.44.45:576]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]LogNet:Warning: Network Failure: GameNetDriver[NetDriverListenFailure]: SteamSockets: binding to port 7777 failed (0) [2015.09.20-02.44.45:576]LogNet: NetworkFailure: NetDriverListenFailure, Error: 'SteamSockets: binding to port 7777 failed (0)' [2015.09.20-02.44.45:577]LogWorld: Failed to listen: SteamSockets: binding to port 7777 failed (0) [2015.09.20-02.44.45:577]LogNet:Error: LoadMap: failed to Listen(/Game/Maps/Abandoned?listen?game=DM) [2015.09.20-02.44.45:580]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]LogWorld: Bringing up level for play took: 0.002452 [2015.09.20-02.44.45:581]LogOnline:Warning: STEAM: Can't start an online session (Game) in state InProgress [2015.09.20-02.44.45:591]LogNet: Browse: /Game/Maps/Menus?closed [2015.09.20-02.44.45:591]LogNet: Failed; returning to Entry [2015.09.20-02.44.45:638]LogLoad: LoadMap: /Game/Maps/Menus?closed [/code]
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..
asked Sep 20 '15 at 02:55 AM in Blueprint Scripting
Had the same bug. Fix was int the DefaultEngine.ini change [/Script/Engine.Engine] to [/Script/Engine.GameEngine]
answered May 15 '17 at 04:17 AM
SND R Keene
Follow this question
Once you sign in you will be able to subscribe for any updates here