Can't call local host in exe

Hello Everyone,

I just finished the tutorials on the unreal youtube channel for the third person blueprint networking game and I have a question.

I built an executable (debug and shipping) and tried to get a network game with no luck.

I was able to get a successful listen server in the editor, but not with the .exe

I have made two shortcuts and placed in the following code in the target:
server:
…\BlueprintReplication.exe" BlueprintReplication.exe Example_Map?listen -game
client:
…\BlueprintReplication.exe" BlueprintReplication.exe 127.0.0.1 -game

Ran the server first and then the client, but they both open separate games.

Tried to do this manually in two regular versions of the game but no luck.

I think I followed the tutorial correctly so does anyone know what I am doing wrong? do I need to do something special when packaging? or do I have the commands wrong?

Thank you!

so someone said on a other post to look at the log files and in the clients version I saw this:

[2014.07.29-01.51.49:443][ 2]LogNet: Host name resolution failed with 48
[2014.07.29-01.51.49:465][ 3]LogNet:Warning: Network Failure: PendingNetDriver[PendingConnectionFailure]: Your connection to the host has been lost.
[2014.07.29-01.51.49:465][ 3]LogNet: NetworkFailure: PendingConnectionFailure, Error: ‘Your connection to the host has been lost.’

not sure what that error 48 code is and I can’t seem to find it anywhere on the site

Any help would be appreciated! I don’t want to try to implement anything unless I can get the executable to be able to handle networking!

I’m also having this problem. Please help!

For anyone still struggling with this problem I figured it out. In your executable shortcut target fields you want something along the lines of these:

Server: “C:\NetworkTest.exe” FirstPersonExampleMap?listen -game

Client: “C:\NetworkTest.exe” 127.0.0.1 -game

Hope this helps