Steam API shutting down immidiatly in built version

I am trying to get steam networking setup in my game and ive been running into a number of problems. The most recent is that in a built version of the game online subsystem steam shuts down immidiatly on app startup after seemingly failing to get access to port 27015 (though I may be misinterpreting the logs). Ive highlighted what I feel to be the relevant lines below

I checked if anything else was using port 27015 and found something called itunes helper which I shut down. I also tried with and without firewall and nothing resulted in any change. Any suggestions are appreciated as im really stuck on this.

I know this is very old but I am having sort of the same issues. The only difference is that for me it creates the instance and then immediately Shutsdown. I am using built from source as well